problem window.opener.doSubmit
788177Aug 2 2011 — edited Aug 2 2011Hello,
We have one application, say with URL
http://localhost/some_app
This is not an APEX application.
On this application on click of a button we popup an APEX page (with public access) and when user clicks on "Ok" button of this APEX page we pop the page down and want
to refresh the original application page. We do this by following javascript function from the APEX page
function close(url) {
window.opener.location.href = decodeBIURL(url);
window.opener.doSubmit('REFRESH');
window.close();
}
We pass the url of the original application to this APEX page as one of the parameters.
This works fine as long as APEX page has URL of the form http://localhost:8085/apex/f?p=101:3, i.e. original application URL and APEX URL both have same hostname part (in the example above localhost ), but moment they are differnet IE pops up another window for original URL.
does anyone know fix to this problem?
regards, Yora