Re: Tapestry grid with enum override localization

2013-07-02 Thread Miguel Figueiredo
Hi Chris, Your suggestion works perfectly. In the getColumnLabel() implementation, I also tried the following: public String getColumnLabel() { return TapestryInternalUtils.getLabelForEnum(messages, rowElement.getColumn()); } Like this I can use the standard properties for enums

Re: Tapestry grid with enum override localization

2013-07-02 Thread Christian Köberl
2013/7/1 Miguel Figueiredo : > Hi, Hi > I need to add a column override that contains an enum, but I am having > trouble localizing it. > > For example: > > > > ${rowElement.column} > > > > My rowElement.column corresponds to an enum like: > > enum Column { > A, B > } Just create a

Tapestry grid with enum override localization

2013-07-01 Thread Miguel Figueiredo
Hi, I need to add a column override that contains an enum, but I am having trouble localizing it. For example: ${rowElement.column} My rowElement.column corresponds to an enum like: enum Column { A, B } Tapestry will display A or B in the table. How can I render an localized str