You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Henrik Chua <ch...@columbusgroup.com> on 2002/02/12 03:45:51 UTC
help on html:select
hi!
can anybody give me an example of how to use html:select?
thanx
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
AW: help on html:select
Posted by Oliver Reflé <o....@gmx.de>.
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:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>