struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "keshav" <kes...@bigtec.co.in>
Subject Re: Refresh parent window on popup submit with old params to parent
Date Tue, 01 Jun 2004 11:11:15 GMT
Hi,

Can you send the code for the method you have mentioned

regards,
keshav

----- Original Message -----
From: "Freddy Villalba Arias" <fvillalba@madrid.bilbomatica.es>
To: "Struts Users Mailing List" <struts-user@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


Mime
View raw message