Hello

I am wondering if there is anyway to reload a parent window from the
popup window.

Basically I have a parent window that has a 'Add Contact' link up top
and then list of added contacts.  When user clicks the addcontact info
a popup window is opened where users enter information and click add.
Upon clicking Add in the popup window the popup window disappears but
user has to manually refresh the parent window in order to see the
added information.  I am wondering if there is any way to do this via
javascript where everytimg the popup window is closed the parent
window is reloaded.

I visited some javascript forums regarding this issue but they are
saying to directly to the popup window like this
function openPopup() {
windowReference = window.open('/addContactInformationPopup.do','windowName');
if (!windowReference.opener)
windowReference.opener = self;
}

However, in my struts1 code i need to pass parameters as well.  So
link on my parent window that opens the popup window looks like this.

<html:link page="/addContactInformationPopup.do"
                                name="paramsName" scope="page"
                                target="_blank">Add Contact</html:link>

I'd appreciate any help.

thanks!

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to