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
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
Hello,
When t:Select component generates option labels for enums, the
toString() method is not honored at all. It currently generates both
labels and values based on Enum.name() method. In my understanding, the
labels shall be generated based on toString() method instead.
Here is a piece of