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!

apex.item javascript API support for Modal Dialog pages

Justin WarwickApr 30 2021

Is the apex.item object supported for pages in Modal Dialog mode? If so, are there special requirements or steps to use getValue and setValue? I can still use getValue for page items "underneath" the modal dialog, but not from the modal dialog itself, it seems. So perhaps some kind of context switch or model specification is needed.
A simple demonstration of normal mode page working, but modal dialog mode page not working, even though the page is mostly a copy of the normal page:
https://apex.oracle.com/pls/apex/jwarwick_bry_com/r/apex-item-test-modal-support/home
Not my main concern, but it seems that isChanged() isn't working consistently even on the Normal mode page.
I did have a look through these references, but nothing I noticed there seemed to address this particular issue:
https://docs.oracle.com/en/database/oracle/application-express/20.1/htmrn/index.html#HTMRN-GUID-4252CE2B-A584-494D-A47C-918E2E2DC50E
https://docs.oracle.com/en/database/oracle/application-express/20.1/aexjs/item.html
https://docs.oracle.com/en/database/oracle/application-express/20.1/aexjs/apex.item.html
https://apex.oracle.com/pls/apex/germancommunities/apexcommunity/tipp/6341/index-en.html
https://docs.oracle.com/database/apex-18.1/AEAPI/apex-item.htm#AEAPI29446

This post has been answered by fac586 on May 1 2021
Jump to Answer
Comments
Post Details
Added on Apr 30 2021
3 comments
1,282 views