I saw a forum post recently asking how to dynamically change the region title.
This is a little ambiguous - is this dynamic to the value set in APEX meta-data, or dynamic as a result of user events on the page?
Here is the instructions for the former. Soon I will post how to modify the title after the page has rendered - often useful for modal dialogs.
1) Create new hidden item called P6_REGION_TITLE. I placed it on the same region as my form items.
2) Create a computation for this item Before Header, with perhaps a SQL expression like
This extends the concept of Pn_MODE demonstrated in my sample application, discussed in this tutorial. You could also interrogate Pn_ID to determine if reading an existing record or creating a new one.
3) Modify the region title to
When the page renders, the region title will be set relevant to the edit mode.
Scott
This is a little ambiguous - is this dynamic to the value set in APEX meta-data, or dynamic as a result of user events on the page?
Here is the instructions for the former. Soon I will post how to modify the title after the page has rendered - often useful for modal dialogs.
1) Create new hidden item called P6_REGION_TITLE. I placed it on the same region as my form items.
2) Create a computation for this item Before Header, with perhaps a SQL expression like
![]() |
Region title computation |
CASE :P6_MODE
WHEN 'R' THEN 'View employee'
WHEN 'E' THEN 'Edit employee'
END
3) Modify the region title to
&P6_REGION_TITLE.
When the page renders, the region title will be set relevant to the edit mode.
Scott