Hi folks:
I wrote a bean to "preload" a collection of valid states (per-se) that will
be incorporated into my JSP page as such:
<td>
<html:select property="addressstate" size
="1">
<html:options collection="states"
property="value"
labelProperty="label"/>
</html:select>
</td>
Here's my question:
All the time, the first entry is ALABAMA.
I'd like to be able to load a record from the database and have that
record's state be "selected" using the above construct.
So if the record's state is Illinios, I'd like for Illinois to be displayed
in the list but they could then update the combobox (in which case I'd save
it to the database). Is there an easy way to do this with the above
construct that I am using?
thanks,
Theron
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>