You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by zainu <ab...@lmkr.com> on 2008/01/04 11:04:05 UTC

Re: Refresh parent browser when form in pop-up browser is submitted


Hi,
  You can use theh following JS function.Hope it will solve your
problem...Just call this script from the popup's submit button..
function refreshBack()
        {
			
	linkss="parentAction.do";
	window.opener.location=linkss;
	window.close();
        }


quinquin2209 wrote:
> 
> Hi All,
> 
> In my application, user can open a member profile in the main page. The
> member profile is opened in a pop-up window and user can edit the profile.
> When user submits the form in pop-up browser, I want to close the pop-up
> browser, refresh the parent browser to reflect change and also display the
> actionError or actionMessage while processing the profile editing. 
> 
> Any suggestion in how I can achieve it?
> 
> Thanks in advance
> 
> Queenie
> 

-- 
View this message in context: http://www.nabble.com/Refresh-parent-browser-when-form-in-pop-up-browser-is-submitted-tp14370069p14613550.html
Sent from the Struts - User mailing list archive at Nabble.com.


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