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!

Dialog Closed dynamic action on any page

John_KFeb 19 2020 — edited Feb 21 2020

APEX 19.2.

I have an application where I want to have a navigation bar menu to pop up a model dialog page. On this page I want the user to be able to set some items, those items to be set in session state, the dialog page closed and the calling page refreshed. The first bits are easy - it's the "refreshing the calling page" bit which is causing me problems... because I don't know what page will be calling the dialog.

I have put a dynamic action on page zero, but I clearly can't have a selector as any item on the page, and I can't reference the modal dialog page. I have tried a jquery selector of the button name on the modal dialog, and also simply of "document" but I still can't get it to fire.

Just to give a bit of background as to why... I have an APEX application which runs in the context of a "client" - the user can be assigned to multiple clients, so I want them to be able to pick their client by clicking the nav bar entry, then once it's set in the modal dialog, I want the calling page to refresh so the details are shown for the client that is now chosen.

This post has been answered by Veerendra Patil on Feb 20 2020
Jump to Answer
Comments
Post Details
Added on Feb 19 2020
5 comments
5,113 views