struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Senthivel U S" <senthivel.usilap...@uaeexchange.com>
Subject dropdown - options
Date Wed, 29 Jan 2003 15:40:24 GMT

Greetings,

I have one dropdown. For dropdown I have one property of type ArrayList
in the form. It displays the list. While submitting the page, if there
is any error, I want to display the same page with the dropdown list. I
don't want to set it as session/application attribute.

Jsp code

             <html:select property="testName" size="1" >
			<bean:define id="rows" name="testForm"
property="rows" 
				type="java.util.ArrayList" />

                <html:options collection="rows"
			property="value" labelProperty="label" />
             </html:select>


Any suggestions is highly appreciated.

Regards,
Sen.


---------------------------------------------------------------------
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