Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

problem window.opener.doSubmit

788177Aug 2 2011 — edited Aug 2 2011
Hello,

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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 30 2011
Added on Aug 2 2011
0 comments
461 views