struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Satyam" <>
Subject RE: Submitting modal window
Date Tue, 04 Jan 2005 10:05:23 GMT
In the pop up page, you can define a javascript function like this.

 window.opener.reload()   // This function will just reload the parent window
 window.opener.location.replace(url) // This call will reload the parent window
                                     // with the specified URL

 This function should be called on submission of this pop up page.

 - Ashutosh

-----Original Message-----
From: Joshi, Amar []
Sent: Tuesday, January 04, 2005 3:04 PM
Subject: Submitting modal window

I want to submit a modal dialog window (Popup window) from a struts
application which should result in closing the popup.
Currently when I submit the popup, It shows the success/failure screen.
Can anybody let me know how to redirect the control to the parent window on
submit of the popup window.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message