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.