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!

APEX 5 call modal page from JavaScript

dragyApr 7 2017 — edited May 3 2017

I work on APEX 5 aplication and want to call Modal Page from Interactive Report. Source of Report looks like:

select rid, rname, '<div onclick="clickDay('||rid||')">' || day || '</div>'
from ...

and clickDay function placed in Header Text looks like

<script type="text/javascript">
 
function clickDay(rid){
  window
.open("f?p=&APP_ID.:13:&SESSION.::NO::P13_RID:" + rid + ,"Details","dialogWidth:1000px;dialogHeight:600px");
 
}
</script>

But when I click on IR cell get new page with error This page can’t be displayed and url looks like javascript:apex.navigation.dialog('f?p=105:13:9389034907255::NO::P13_RID, ...

I am trying to find the way to open already created Page of type Modal Dialog from JavaScript function. Is there a way to open Page 13 from clickDay function?

This post has been answered by Alex Timofeyev on Apr 8 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 31 2017
Added on Apr 7 2017
32 comments
36,145 views