Skip to Main Content
Feature Request FR-3578
Product Area Page Components
Status CLOSED

2 Voters

Fix Modal Page region title to be in sync when Modal Page Title is defined as substitution string

bozo030 Public
· Jan 10 2024

Idea Summary
This idea proposes a solution to enhance the synchronization of titles for pages with the "Modal Dialog" page mode in Oracle APEX. Currently, the title in the modal dialog's UI element (identified by ui-dialog-title) is set at the parent page's load and does not dynamically update to mirror the title of the content in the iframe. This leads to a discrepancy between the displayed title in the UI and the actual Modal Dialog Page title within the iframe.

Use Case
An important use case involves dynamically defining the modal dialog's title using a page item substitution string. This feature is essential in applications where modal dialog titles change based on user actions or data variations, necessitating a title that consistently reflects the current content.

Preferred Solution (Optional)
Two potential solutions could be considered:

  1. Implement a JavaScript mechanism to dynamically update the modal dialog's title (ui-dialog-title) to match the iframe content's title upon each dialog invocation.
  2. Alternatively, reconsider the HTML structure of the modal dialog to allow the region's title to be displayed directly from the iframe, ensuring title-content synchronization.
This request is likely a duplicate of FR-1815.

Comments

Comments