We’re in the process upgrading to APEX version 4.2.2. We have an issue is with a report with a link that’s firing a dynamic action with a jQuery selector.
The first sequence in the dynamic action is Confirm. When we click the link in the report it’s supposed to popup a confirm “Are you sure you want to save?"
When we click the link nothing happens. This works in our current version 4.0.1, but not in 4.2.2. Do you have any ideas?
Sorry, this is something I inherited, and I'm not very familiar with jQuery. I don't see any errors reported. When I click the link the screen just bounces back to the top of the page and doesn't display any errors. The button is a link called from a sql report.
The column link has a link attribute 'id="#ENTITY_ID#" class="update"' and the URL is '#'. For the dynamic action the event is 'Click', the selection type is 'jQuery Selector', the jQuery Selector is 'a.update'.
Thanks for your help.
in the url to
The reason for your issue is that the default action of the anchor tag is not prevented and thus navigation occurs. A confirm action will return true or false, and execution of further true actions will stop when selecting cancel but this will still not prevent the default action from occuring. Similarly a cancel event true action is not adequete as this has to be run after the confirm so not accounting for the execution-stopping cancel of the confirm.