2 Replies Latest reply on Jun 18, 2019 6:13 AM by 3698326

    <af:panelTabbed

    3698326

      Hello,

       

      I am using a <af:panelTabbed with the following structure:

       

      <af:panelTabbed id="pt1" childCreation="lazyUncached" dimensionsFrom="auto">

        <af:showDetailItem text="" id="sdi1" stretchChildren="first" disclosed="true">

            <af:panelStretchLayout id="ps1" styleClass="AFStretchWidth">

                <f:facet name="center">

                    <af:table/>

                </f:facet>

            </af:panelStretchLayout>

        </af:showDetailItem>

        <af:showDetailItem text="" id="sdi2" stretchChildren="first" disclosed="false">

            <af:panelStretchLayout id="ps2" styleClass="AFStretchWidth">

                <f:facet name="center">

                    <af:table/>

                </f:facet>

            </af:panelStretchLayout>

        </af:showDetailItem>

        <af:showDetailItem text="" id="sdi3" stretchChildren="first" disclosed="false">

            <af:panelStretchLayout id="ps3" styleClass="AFStretchWidth">

                <f:facet name="center">

                    <af:table/>

                </f:facet>

            </af:panelStretchLayout>

        </af:showDetailItem>

      </af:panelTabbed>

       

      Whenever i close the popup containing the af:panelTabbed and re-open another popup or the same one.

      I get placed in the last af:showDetailItem that was opened.

       

      I need to reset it to have it opened on the first tab sdi1

       

      Is it doable?

       

      Using JDEV 11.1.2.3

       

      Thanks

        • 1. Re: <af:panelTabbed
          Timo Hahn

          How do you open the popup?

          A popup is normally rendered only once. Closing it doesn't mean that it's gone. Next time you show it, it will show up in the state you left it.

          You can tell the popup to load 'layzUncached' to force that the popup read it's data again. If this doesn't help. you add a popupfetch listener and close the current tab and and disclose the first on using java.

           

          Timo

          • 2. Re: <af:panelTabbed
            3698326

            Thank you, it Worked with the fetch listener