Hi all,
I have an application, in oracle apex 18.2; currently it has a dynamically generated menu bar, which, per user, is shown in all pages.
This menu, simply redirects to other pages (or other tool applications we have in the system).
The thing is that, for a SPECIFIC page, there is a need to do some checks before redirection. This is simply check in this specific page, if certain items where changed, and if so, show a custom notification to the user in order to proceed with the original redirection or if to do something else.
I am able to "detect" this click, but I have not had any luck to stop the apex redirection to another page.
My idea was to "catch" the click - get the menu item clicked - stop redirection - send the notification out there and allow the user choose what to do, and if the user decided to continue with the redirection, with the menu item the user clicked originally, use it to actually proceed with the redirection.
Very easy, I thought, but I have not been able to stop this redirection.
I tried with a return false , event.preventDefault() (& stopPropagation()); I have also tried the pl/sql block with apex_stop_engine (even redirecting inside that block, to force "something else").
But I have no idea what else to do stop this redirection, or to get done what I have been requested.
Anyone has an idea that could help me with this?
Thank you.
Jorgelina