Hi Alan,
thanks for your answer!
| Look at the example under the @PropertySelection component in the user guide.
Well, that was the first thing I did but I thought that there has to be
something else as I have my own SelectionModel (with all these getxxx and
translatexxx methods) but it still doesn't work.
<component id="inputType" type="PropertySelection">
<binding name="value" value="userType"/>
<binding name="model" value="modelSource.userModel"/>
</component>
Perhaps I wasn't able to describe the actual problem:
The <select> is displayed correctly but when the user submits the form
instead of the integer value associated to each select entry the string
representation is send to the page class.
If I change
public abstract String getUserType();
to
public abstract Integer getUserType();
I see an ognl error. :(
Perhaps: Do I have to write my own translator?
Sincerly,
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]