My Oracle Support Banner

Facing Issue While Showing The First Tab On PanelTabbed Component In WebCenter Portal Page (Doc ID 1614145.1)

Last updated on MAY 31, 2023

Applies to:

Oracle WebCenter Portal - Version to [Release 11g]
Information in this document applies to any platform.


In an WebCenter Portal Custom Framework Application, is there any way to have an panelTabbed component with three showDetailItems on the page in which always show the first tab is shown on each visit to the page, despite whether one of the panels was expanded previously.

ie if Showtabs.jspx has the following:

    <af:document id="d1">
      <af:form id="f1">
        <af:pageTemplate viewId="/oracle/webcenter/portalapp/pagetemplates/pageTemplate_globe.jspx"
                         value="#{bindings.pageTemplateBinding}" id="pt1">
          <f:facet name="content">
            <af:panelTabbed id="pt2">
              <af:showDetailItem text="TAB A" id="A_TAB" >
                <af:outputText value="TAB A" id="ot1"/>
              <af:showDetailItem text="TAB B" id="B_TAB" >
                <af:outputText value="TAB B" id="ot2"/>
              <af:showDetailItem text="TAB C" id="C_TAB">
                 <af:outputText value="TAB C" id="ot3"/>


Running this code shows 3 TABS on the ShowTabs page.
Clicking on each one displays it and collapses the other 2.
Visiting another page then coming back to Home is remembering which one was previously expanded.
If a new browser is opened, the first TAB is displayed as required on first visit.

If the same usecase is ran using normal ADF application, every time when browsing to the particular page, it's always showing the first tab it self.

Is there any way to make the first TAB displayed on re-visiting the page in WebCenter Framework application?


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.