简体   繁体   中英

Oracle apex 5 refresh region/item on parent page after close modal

Source: oracle apex redirect to modal dialoge page from pl/sql code

I need to update the item in the parent window after closing the modal window. The peculiarity is that by pressing the button, the custom JS code (after apex_util.prepare_url (p_url, p_triggering_element) ) is executed and one of the conditions opens the modal window. How can I catch the closing of this modal window? The standard dynamic action "dialog is closed" does not catch this event. According to the assigned J selector # URLS likewise does not work - it is in the HTML page, but not caught through the browser console $ ('# URLS').

In the modal page Dialog -> Attributes field put the following javascript code:

close: function(event, ui) {apex.navigation.dialog.close(true,{dialogPageId:(Page number)});}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM