I got a java enumeration and would like to reuse the nice localization facilities from tapestry 5.

let's say I have an enum:

enum A{
 ONE,TWO;
}

If it displays on a page I would like to have it displayed by the language (e.g. 'one' for en or 'zwei' for german).

For displaying it on the page tapestry seems to use Enum.toString(). So I would override toString() and read some localized values from property files. How can I access tapestry localization facilities for that?

--
manuel aldana
ald...@gmx.de
software-engineering blog: http://www.aldana-online.de


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to