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
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
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