I have a DynValidatorForm set up for an Employee. One of the fields in
this form is 'states' as an ArrayList which contains State beans (for
abbreviation, and full state name). In my Action form the Dynamic Form
is first set with the ArrayList of states then it forwards to the jsp
page for entering the employee information.

The problem is when the form is validated and there are errors it
returns back to the input page, but the list of States is no longer
there. It makes sense that it's not there since it must be losing the
handle to the states since the actions only have request scope. Is
there a way to get the list of states to show up again by still using
request scope? Or do I need to set the States list or the Employee
dynamic form into session scope? I could also just put the states list
into the ServletContext which I have done before, but there must be a
good solution I am overlooking for doing all of this with request
scope. (For example what if it was a list of cars the user had to
select from, I might not want that car list in session scope).

Thanks for any help.

-- 

Rick
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to