struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Lowe <>
Subject Re: question about form handling
Date Mon, 29 Dec 2003 13:20:01 GMT

I'd approach the problem by thinking about having a child form that 
popluates a parent form. When you close the window or submit (have a 
button in noscript tags) the child it fires up an action which copies 
the values of the child form into the parent.

If the parent is scoped to session

ChlidForm theChildForm = (ChildForm) form;
ParentForm theForm = (ParentForm) session.getAttribute("parentForm");

String foo = theChlidForm.getFoo();

On 29 Dec 2003, at 10:48, dirk wrote:

> Hello,
> anybody know how to handle one action, but two forms (one base form + 
> one popup ). When the popup gets closed the base form should be 
> updated with the data from the popup. Anybody has a working example ?
> Thanks

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

View raw message