RichPanelTabbed richPanelTabbed = getPanelTabbed();
for (UIComponent child : richPanelTabbed.getChildren()) {
RichShowDetailItem sdi = (RichShowDetailItem)child;
sdi.setDisclosed(isThisItemToBeDisclosed(sdi));
}
You can download the sample workspace from here.
[Runs with Oracle JDeveloper 11g R1 PS2]
How to run this sample?
Run the test.jspx. This page displays drop down list displaying the tab names and a button close to it for disclosing the selected tab programatically.
2 comments:
I have below structure in my page
af:paneltab
af:iterator->employeeVOIterator
af:showdetailitem
On click of add button, a new emp record is inserted and corresponding tab is reflected on page but not able to disclose this new tab among others.
excellent thanks for the code
Post a Comment