Thank you Ulrich, you put me on the right track to solve the problem.
Here is what I did precisely, just for the ones who'd need it.
In fact EnumSelectModel is final, so you cant extend it, but it's easy
to build one, and T5 does all the work behind, esp. finding the right
labels :
EnumSelec
getValidBaseTypes has to return an Object which implements
org.apache.tapestry5.SelectModel. If you want to filter out some enum
values that shouldn't be displayed you could extend EnumSelectModel and
overwrite the getOptions() method. In your own implementation make a
call to the super class'
Hello all,
My TML is the following :
The baseType property is of type BaseType, an enum with several values
in it. When I declare theses values in the associated properties file,
to make them readable, everything works fine.
Now if I declare my select like that :
The getValidBaseTypes r