Hello here a small example,
select is like in normal html only the frame. Then i put in
a normal field(can also be done with all fields), you can also use here
<html:option value="">bla</html:otion>
With the next line struts iterates over a collection, which is put in the
request.

               <html:select property="country" size="1">
                    <option name="country" value="" >- - - Not
Selected - - -</option>
                    <html:options collection="countrycode" property="value"
labelProperty="label"/>
                </html:select>

Hope that helps

-----Ursprüngliche Nachricht-----
Von: Henrik Chua [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 12. Februar 2002 03:46
An: Struts Users Mailing List (E-mail)
Betreff: help on html:select


hi!

can anybody give me an example of how to use html:select?

thanx


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to