0 Replies Latest reply: Apr 3, 2012 8:57 AM by skahlert RSS

    Region refresh on DHTML dialog close

    skahlert
      Dear friends,

      I'am using the DHTML dialog plugin and just upgraded to Apex 4.1.1.
      The report refresh on the main page no longer works when the dialog is closed.

      Hence I tried to modify the plugin by adding the "apexrefresh" call to the code:
       
      
        htp.p('parent.apex.jQuery("#' || l_dialog_id || '").dialog("close");');
        htp.p('apex.jQuery("#departments").trigger("apexrefresh");');
        htp.p('</script>');
        htp.p('</body>');
        apex_application.stop_apex_engine;
      My question is why does the refresh not work?
      The dialog (id=departments) is wrapped an iframe.

      Have been reading and trying hours now and feel it's time to ask you!

      Thanks,

      Sebastian