struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Refl├ę <o.re...@gmx.de>
Subject AW: help on html:select
Date Tue, 12 Feb 2002 08:11:21 GMT
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:chua@columbusgroup.com]
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:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message