Re: Enum.toString() not honored by t:Select component

2009-07-09 Thread Thiago H. de Paula Figueiredo
On Thu, Jul 9, 2009 at 4:15 AM, Martin Strand wrote: > To fix your problem, put this in the message catalog (YourPage.properties): You can also put them in the global message catalog (app.properties). > oms = OMS > payment = Payment You can also use Team.oms (the class name before the enum value

Re: Enum.toString() not honored by t:Select component

2009-07-09 Thread Martin Strand
Tapestry looks for a label in your message catalog, if none is found it uses name() to automatically create a proper label. toString() is not used. To fix your problem, put this in the message catalog (YourPage.properties): oms = OMS payment = Payment On Thu, 09 Jul 2009 08:28:18 +0200, Baldu