struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Taylor" <rtay...@mulework.com>
Subject RE: dropdown - options
Date Wed, 29 Jan 2003 16:08:41 GMT
This has been discussed before. Please look at the archives.
In the mean time, try setting the input attribute of the action mapping
element to the URL for the action that "prepares" this page.

robert

> -----Original Message-----
> From: Senthivel U S [mailto:senthivel.usilappan@uaeexchange.com]
> Sent: Wednesday, January 29, 2003 10:40 AM
> To: 'Struts Users Mailing List'
> Subject: dropdown - options
> 
> 
> 
> 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
> 

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