On 20050602 5:27 AM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:

> 
> I have a form where there is a grid(plain HTML) which needs to be
> populated via <logic:iterate>. Is there a way to populate that form before
> the page is loaded( somehow via struts=config ..........er??) so that I do
> not need to submit the page onload and call OnLoadAction to populate the
> arraylist logic:iterate from DB?

In the action that results in the presenting of the form, you can build your
List and store it in the FormBean/DynaFormBean. This works best if you make
the form a "session" scoped form because the List will disappear from a
request scoped form if it fails to validate on submission.

Hope that helps,

John


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

Reply via email to