Hi Mike.

That's what I hoped.

There is a request.GetParameter("rapport"), but that does not do
anything to the html:select

Soren

-----Oprindelig meddelelse-----
Fra: Mike Baroukh [mailto:[EMAIL PROTECTED] 
Sendt: 10. november 2006 17:33
Til: Struts Users Mailing List
Cc: [EMAIL PROTECTED]
Emne: Re: <option value="" selected> converted to <html:option value="">

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]

Reply via email to