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!

Set Focus on a Tab Region coming from another page - 21.2.3

Joe RMar 11 2022

Version: 21.2.3
Hello,
I have a Tab Region with 4 Tabs.
There is a column in each report set as a link to open a detail page to allow the user to enter/modify the data. The Detail page is set with the same 4 Tabs. I would like to have the Detail page open to the Tab that was selected on the Main page.
main_detail.jpgAs an example, when a row is selected on the Main page from "Oil Reservoir Data" and the Detail page opens, I would like the same tab to be "opened" when the page is opened.
What I've tried (that does not work):
In the Link attributes on the Main page I'm passing a value for the Tab that I want to have focus. In this example I'm passing "ORD" to a hidden page item on the Detail page.
I put a Static ID on the Report regions, in the example the Static ID is "ORD".
I created a Dynamic Action, on the Detail page, on Page Load:
When: Page Load
Client-Side-Condition: Type: Item = Value
Item: P37_ACTIVE_TAB (the hidden page item receiving the value being passed)
Value: ORD
True Action: Set Focus
Affected Elements: JQuery Selector
JQuery Selector: #ord
I also put an Alert just to make sure the Dynamic Action was firing and I did get the Alert.
Can someone help me to have the Tab open on the Detail page?
What questions can I answer that I didn't provide?
Thanks,
Joe

This post has been answered by Hamza Al-abbasi on Mar 14 2022
Jump to Answer
Comments
Post Details
Added on Mar 11 2022
4 comments
1,815 views