struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mathew, Manoj" <Mathew.Ma...@principal.com>
Subject RE: html:options
Date Wed, 09 Jul 2003 16:38:15 GMT

	<div id="xxx">
<html:select property="property" styleClass="<%=myStyle%>" tabindex="100" >
<html:options collection="collection of possible values" property="key" labelProperty="value"/>

							</html:select>
							</div>
-----Original Message-----
From: sjones [mailto:sjones19662000@yahoo.com]
Sent: Wednesday, July 09, 2003 10:43 AM
To: struts-user@jakarta.apache.org
Subject: html:options


Good Morning Everyone.

I have a List object and i need my JSP page
to build a drop down list box using the List as the source
for the options.

I can do it with a scriplet but i need to one of the struts tags
<html:options>
<html:optionsCollection>

can anyone help me with use one of these tags.

I am looking at the java.docs but it doesn't really help me.

the List is also accessible from a classs name EqualityOperators

List o = EqualityOperators.getOperators();





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


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


Mime
View raw message