What about keeping the list in form-bean? It is DynaForm, so you can
populate using form.set("mylist", mylisy); and retrieve back using
${form.map.mylist} (or RT equivalent of it).

If you put in session, you have to take care of removal. In this case
Struts will take care of it and recycle it.


On 9/14/05, Sudhaker Raj <[EMAIL PROTECTED]> wrote:
>   /----------\
>   |  Action  | populates list
>   \----------/
>        |
>        V
>   /----------\
>   | JSP/Tiles|
>   \----------/
> 
> The list is not being populated when validation fails as framework is
> throwing back request to JSP/Tiles without running the population
> code. This is very well expected behavior.
> 
> A simple work-around can be assigning input to the action which is
> generating the page. If you don't want to execute the population code
> again and again, you gotta to hold it somewhere.
> 
> Cheers,
> Sudhaker
> 


-- 
Cheers,
Sudhaker Raj
http://thej2ee.com

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

Reply via email to