Hi.
I think that you don't have so specify "selected" : struts will
automatically add it if the value of the option is equals to the value
of the property ...
Mike
Søren Blidorf a écrit :
How can I convert the following to Struts:
<select name="rapport">
<option value="one" selected>one</option>
<option value="two">two</option>
<option value="tree">tree</option>
</select>
This does not work:
<html:select property="rapport">
<html:option value="one" selected>one</option>
<html:option value="two">two</option>
<html:option value="tree">tree</option>
</html:select>
It is very important for me to specify which is "selected"
BR.
Soren, DK
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Mike Baroukh
---
Cardiweb - 31 Rue de Mogador Paris IXeme
06 63 57 27 22 - 01 53 21 82 63 - Jabber: [EMAIL PROTECTED]
http://www.cardiweb.com
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]