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 17:10:12 GMT
Greetings,

I know very well this has been discussed earlier but unfortunately I
could not find any concrete solution other than setting it in the
session or forward to the action which prepares the dropdown. If
possible, please direct me to the documentation.

Thanx.

Regards,
Sen

-----Original Message-----
From: Robert Taylor [mailto:rtaylor@mulework.com] 
Sent: 29 01, 2003 8:09 PM
To: Struts Users Mailing List; senthivel.usilappan@uaeexchange.com
Subject: RE: dropdown - options

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


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