struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kies <>
Subject Re: Validation Post-Back help
Date Thu, 30 Dec 2004 20:42:22 GMT
Wendy - I don't want to use the session for storage because of
scalability and memory constraints.

I have read and understand the point that as long as I have the field
defined in the DynaActionForm that the data will be in the request
when I need it after validation fails.

-How do you get a list into a list specified in the form bean?
<form-property name="statusList" type="java.util.List">

in JSP to show the list in a drop down:
<select name="status"> 
<logic:iterate indexId="id" id="statusList" name="statusList">
        <option value="<bean:write name="statusList"
property="statusType"/>"><bean:write name="statusList"
property="statusType" /></option>

**So what do I need to do to put this data back in the request so it
shows up if the validation fails?  I can figure it out for the other
fields, just not the list.

Thanks for any help.

On Thu, 30 Dec 2004 10:54:12 -0700, Wendy Smoak <> wrote:
> From: "Daniel Kies" <>
> >  Can you offer a decent way of
> > searching through the archives?
> I like  Put 'struts' in the box on the first
> page, then choose the user list.
> Why are you dismissing session scope?
> --
> Wendy Smoak
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message