It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

Problem on refresh parent window from child window

Problem on refresh parent window from child window

Postby janiceteh on Tue Mar 03, 2009 10:16 am

Hi all,

First of all, I am using Lotus Domino Designer for development.

I am facing a problem on refreshing parent window from child window. Error pop-up that : [The page cannot be refreshed without resending the information.]

My situation:
- parent window will call child window after click a button
- use will enter information in child window and then save
- after saved, the new created document do not display on the displaying view
- so, I add-on javascript in the OnUnload() for the save button of child window
- which is :=

*******************************
if(window.opener != undefined){
opener.location.reload();
}
else{
self.parent.document.location.reload();
}
********************************

- the results:
a.If is new document, everything is going successfully
b.If is not new document, error pop-up (the page cannot be refreshed without resending the information)
c.The above 2 (a & b) are tested in InternetExplorer.
d.If I test using Mozilla firefox, the another way round results are appear.



Anyone can help me?? I am lost idea!
janiceteh
 
Posts: 1
Joined: Tue Mar 03, 2009 8:27 am

Who is online

Users browsing this forum: No registered users and 4 guests