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!
Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.
Hi all!
I'm trying refresh a region whenever I close a Dialog Modal but the event is not triggering.
I'm using APEX_UTIL.PREPARE_URL to open the modal page.
Can you help me please?
Thanks in advance.
Declare the function in parent page to trigger the refresh event.
function customEvent(event, data){ apex.event.trigger( "#REGION_ID", "apexrefresh" );}
function customEvent(event, data){
apex.event.trigger( "#REGION_ID", "apexrefresh" );
}
Call it from the dialog page, put it in Dialog attribute
close: function() { customEvent('customDialogClose', {modalPageId: 'MODAL_CLOSE_FIXED'});}
Thanks, It Worked!!