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!

Chained Modal Dialog Region closing both regions

Richard LeggeOct 1 2024 — edited Oct 1 2024

Hi All,

Apex 5.1

SE 12.1

I have two modal regions on my page (they are regions, not modal pages) . Each has a separate static ID. I open one modal, and then have a button on that modal which opens a second modal. The problem I have, is that when I click a button to close the second modal using closeModal(), or closeModal('modal2'), it also closes the first one.

Ive tried hiding the second one, which kind of works (it leaves the title div, and I have to hide that separately), but then I cannot re-open it again. I've tried various methods to open and close the modals correctly, including the close and cancel Dialog dynamic action (which don't seem to do anything), as well as manually closing it, but without success.

If anyone can please advise, I would be grateful.

Many Thanks

This post has been answered by AnnelizeF on Oct 4 2024
Jump to Answer
Comments
Post Details
Added on Oct 1 2024
2 comments
495 views