Re: T5 property file for enum

2008-04-10 Thread Michael Gerzabek
Great, Thanks! Robert Zeigler schrieb: You can put the labels in your application's global properties file. See: http://tapestry.apache.org/tapestry5/tapestry-core/guide/localization.html In particular, note the section on the Application Message Catalog: "Application Message Catalog If th

Re: T5 property file for enum

2008-04-10 Thread Robert Zeigler
You can put the labels in your application's global properties file. See: http://tapestry.apache.org/tapestry5/tapestry-core/guide/localization.html In particular, note the section on the Application Message Catalog: "Application Message Catalog If the file WEB-INF/AppName.properties exists in t

Re: T5 property file for enum

2008-04-10 Thread Michael Gerzabek
to be overread) on the following page of Tapestry 5 Manual (http://tapestry.apache.org/tapestry5/tapestry-core/guide/localization.html) Cheers, nillehammer - original Nachricht Betreff: T5 property file for enum Gesendet: Do, 10. Apr 2008 Von: Michael Gerzabek<[EMAIL PROTEC

Re: T5 property file for enum

2008-04-10 Thread Thiago HP
On Thu, Apr 10, 2008 at 6:10 AM, Michael Gerzabek <[EMAIL PROTECTED]> wrote: > Is there a way to customize labels for enums in only one file per locale so > that those properties get read whenever the enum is used on a Page? ? In my humble opinion, the best approach is to put all the messages in

Re: T5 property file for enum

2008-04-10 Thread nille hammer
(http://tapestry.apache.org/tapestry5/tapestry-core/guide/localization.html) Cheers, nillehammer - original Nachricht Betreff: T5 property file for enum Gesendet: Do, 10. Apr 2008 Von: Michael Gerzabek<[EMAIL PROTECTED]> > Hi, > > I love the new enum support for au

T5 property file for enum

2008-04-10 Thread Michael Gerzabek
Hi, I love the new enum support for automagic selects. Thanks for that Howard! I have shifted many constants to enums. The arising question is how to prepare Messages to those enums in most convenient way. At the time I use one property file per Page. When I have an enum display a select on