You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by keshav <ke...@bigtec.co.in> on 2004/06/01 13:11:15 UTC

Re: Refresh parent window on popup submit with old params to parent

Hi,

Can you send the code for the method you have mentioned

regards,
keshav

----- Original Message -----
From: "Freddy Villalba Arias" <fv...@madrid.bilbomatica.es>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Monday, March 22, 2004 10:38 PM
Subject: RE: Refresh parent window on popup submit with old params to parent


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:pgandle@rwjf.org] 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: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org