struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zainu <abidmehm...@lmkr.com>
Subject Re: Refresh parent browser when form in pop-up browser is submitted
Date Fri, 04 Jan 2008 10:04:05 GMT


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


Mime
View raw message