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!

How to prepare url for modal page in Apex 5.1

batchuNov 7 2017 — edited Nov 7 2017

Hello everyone ,

I have difficult to preparing  url  with  APEX_UTIL, it works if page is not modal.  Can you please help me ?

SELECT

     '<a href= '||APEX_UTIL.PREPARE_URL(p_url => 'f?p=' || '&APP_ID.' || ':25:'||'&APP_SESSION.'||'::NO::P25_ROWID:'RID, p_checksum_type => 'SESSION') ||'><img src="#IMAGE_PREFIX#app_ui/img/icons/apex-edit-pencil.png"   class="apex-edit-pencil"  alt=""></a>'

FROM DUAL;

Batchu

Inspected element :

<a href="javascript:apex.navigation.dialog('f?p=100:25:17139969703345::NO::P25_ROWID:test\u0026cs=3Xludjv1jNVwzI8RZtJfWJgTvXV0UDKGcgTA2nAy-KBHkTvJDSYSNsQjZPmmREtuFebkJle3ytKHbu0HjuyWKOw\u0026p_dialog_cs=y8wTYqbhkZBFhlZHwBtEqzrfN0KLHbiywP15AM-6hdgMKU3TMvWFDQdUqIUOtj6x9rO6j6-DjObitFXtVjA6dg',{title:'Manage" sovereign="" investments',height:'auto',width:'800',maxwidth:'800',modal:true,dialog:null},'t-dialog-page--wizard="" '+'',apex.jquery('#tab_rep'));=""><img src="/i/app_ui/img/icons/apex-edit-pencil.png" class="apex-edit-pencil" alt=""></a>

Error Message: (console)

Uncaught SyntaxError: Invalid or unexpected token

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 5 2017
Added on Nov 7 2017
15 comments
1,077 views