Re: s:select and pre-selection

2008-02-29 Thread Daniel Baldes
Daniel Baldes wrote: Hi, I have a select box: Ok, I found it myself: 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 -

Re: s:select and pre-selection

2008-02-29 Thread Richard Sayre
I have a select that populates with a int,string id/value combo. To get the s:select to select the proper option I had to crate another value in my action (int myId). This would be set to the id of the option to select. Then I had to set the name attribute of my select to myId (name="myId"). On

s:select and pre-selection

2008-02-29 Thread Daniel Baldes
Hi, I have a select box: "availableObjects" is a list of objects having an id and a name property, where id is of type "long". "user.property" is 'converted' to its id (as String) by a type converter. Now, setting user.property works well with this, but the current value is not pre-selec