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!

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.

Issue with "Dialog Closed or Canceled" Event Not Firing

Bozo030Oct 10 2024

Hi everyone,

I'm experiencing behavior in APEX 24.1 that seems incorrect to me. Specifically, the "Dialog Closed or Canceled" event is not being triggered under certain conditions.

Here’s the scenario:

  1. I open a Modal Dialog page.
  2. I submit the form on the Modal Dialog page.
  3. After the form submission, the page refreshes but remains open.
  4. When I then manually close the Modal Dialog, the "Dialog Closed or Canceled" event does not fire.

However, the event triggers correctly if the Modal Dialog is opened and closed without submitting and refreshing same Modal Dialog Page.

I believe the event should also be triggered when the dialog is closed after a submission and refresh. Has anyone else encountered this, or is there a workaround to ensure the event fires properly in this situation?

This post has been answered by Bozo030 on Oct 11 2024
Jump to Answer
Comments
Post Details
Added on Oct 10 2024
4 comments
87 views