Daniel Baldes wrote:
Hi,

I have a select box:

<s:select name="user.property"
          list="availableObjects" listKey="id" listValue="name" />

Ok, I found it myself:

<s:select name="user.property" value="%{user.property.id}"
          list="availableObjects" listKey="id" listValue="name" />

this works. It seems the code which does the pre-selection does not use the type-converted value of "user.property" but the original value.

Cheers,
Daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to