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!

Dynamic action unload page and message.confirm

Michał_ORAMar 9 2018 — edited Mar 11 2018

hi,

My version : Application Express 5.1.2.00.09

1) not working - the confirmation window is not displayed

dynamic action : unload page

true : execute java script code

apex.debug.log("before unload page");

apex.message.confirm( "Are you sure?",function(){

                     apex.debug.log("selected OK");

                   });

apex.debug.log("after unload page");

log java console:

21:28:49.618 VM2695 desktop.min.js:2 before unload page

21:28:49.689 VM2695 desktop.min.js:2 after unload page

------------------------------------------------------------------------------------------------

2) working - the confirmation window is displayed

dynamic action : click button

true : execute java script code

apex.debug.log("before unload page");

apex.message.confirm( "Are you sure?",function(){

                     apex.debug.log("selected OK");

                   });

apex.debug.log("after unload page");

log java console

21:31:09.206 desktop.min.js?v=5.1.2.00.09:2 before unload page

21:31:09.256 desktop.min.js?v=5.1.2.00.09:2 after unload page

21:31:09.257 [Violation] Forced reflow while executing JavaScript took 33ms

21:31:10.663 desktop.min.js?v=5.1.2.00.09:2 selected OK

Why it does not work with the dynamic action "unload page" ?

please help

thank you

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 8 2018
Added on Mar 9 2018
1 comment
1,101 views