Yves Dessertine wrote:
Yeah, thanks a lot Benjamin!
I did *basically* what you told (building a Collection of
LabelValueBean, but I did this in an action -- same result: it works
:)).
But I still don't understand why selecting default values hadn't
worked when building a list of option with individual <html:option />
tags in jsp page. Do you have an idea? Just for my culture.
Because Struts had nothing to do with creating the <option> elements.
The <html:select> tag doesn't retroactively examine the DOM to figure
out which item (if any) should be selected, it performs that logic while
creating the option elements.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org