I'd say:

Popup submits info.
Info ges processed.
Popup gets "reloaded".
On popup reload, invoke refresh on parent, then close (in that exact
order).
Parent gets fresh info.

There is only one race-condition with this approach:

The "background operations" launched by the popup's submit action (I
assume there will be some) must be completed before the "refresh"
function is invoked on the parent window.

One way to avoid this is to wait until "vital" operations are completed,
then return (to the popup window).

HTH.

Freddy V.A.

-----Mensaje original-----
De: Gandle, Panchasheel [mailto:[EMAIL PROTECTED] 
Enviado el: jueves, 18 de marzo de 2004 14:49
Para: Struts Users Mailing List
Asunto: Refresh parent window on popup submit with old params to parent

This must have asked before but ...

I popup a child window from a parent window.
Popup window submits info, gets closed.
Parent window gets refreshed.

Whats the best way to refresh parent window, 
such that it gets the new info from child window
and the parameters that were previously 
submitted for the parent window to appear.


Thanks
Panchasheel


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


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

Reply via email to