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_util.prepare_url is adding dialog.close(true,function(pDialog)

ApexMeisterJul 28 2017 — edited Jul 28 2017

I'm using apex.5.1.2 and universal theme.

I have several pages with page mode = modal and I'm using

apex_util.prepare_url(p_url => 'f?p='

                                   || v('app_id')

                                   || ':'||pPage||':'

                                   || v('app_session')

                                   || ':::' ||vPage||':'||pParam,

            p_triggering_element  => vTrigItem);

In all cases it would produce something like below

javascript:apex.navigation.dialog('f?p=100:61081:15675301525632:::61081:P61081_TITLE:Partial\u002520Payment\u0026p_dialog_cs=0lr_2dLZt_3qQ1GADDUvY0D8u_k',{title:'Partial Payment',height:'auto',width:'720',maxWidth:'960',modal:true,dialog:null},'t-Dialog-page--standard '+'',apex.jQuery('#P61075_SAVE_MODE'));

But for this 1 page its different and I can't see any difference between the other modal pages. Please see the bold line its using dialog.close instead of just dialog like the one from above.

Thanks

javascript:apex.navigation.dialog.close(true,function(pDialog){ apex.navigation.dialog('f?p=100:61079:15675301525632:::61079:P61079_DIST_TYPE,P61079_MULTI_BILL:A,Y\u0026cs=1knAynT5yylWT_0ylqLpi83G4Z04\u0026p_dialog_cs=OWgDR1B6A-ij8nGyB4_YbbEmcIA',{title:'Receipt Collection - Distribution',height:'auto',width:'720',maxWidth:'960',modal:true,dialog:pDialog},'t-Dialog-page--standard '+'',apex.jQuery('#AB2P')); });

This post has been answered by ApexMeister on Jul 28 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 25 2017
Added on Jul 28 2017
2 comments
702 views