You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Pierre-Luc Archambault (JIRA)" <ad...@incubator.apache.org> on 2006/07/18 12:57:15 UTC

[jira] Commented: (ADFFACES-47) Nested out-of-sync

    [ http://issues.apache.org/jira/browse/ADFFACES-47?page=comments#action_12421865 ] 
            
Pierre-Luc Archambault commented on ADFFACES-47:
------------------------------------------------

Did some tests and here is a code that show the small inconsistency :
  <f:view>
    <af:document title="All purposes tests">
      <af:form>
        <af:panelGroup layout="vertical">
          <af:showOneTab position="both">
            <af:showDetailItem text="TabOne">
              <af:panelHeader text="Header tab1">
                <af:panelForm>
                  <af:showOneTab position="both">
                    <af:showDetailItem text="UnderTab 1">
                      <af:showOneTab position="both">
                        <af:showDetailItem text="2xUnderTab 1"/>
                        <af:showDetailItem text="2xUnderTab 2"/>
                        <af:showDetailItem text="2xUnderTab 3"/>
                        <af:showDetailItem text="2xUnderTab 4"/>
                        <af:showDetailItem text="2xUnderTab 5"/>
                      </af:showOneTab>
                    </af:showDetailItem>
                    <af:showDetailItem text="UnderTab 2"/>
                    <af:showDetailItem text="UnderTab 3"/>
                    <af:showDetailItem text="UnderTab 4"/>
                    <af:showDetailItem text="UnderTab 5"/>
                  </af:showOneTab>
                </af:panelForm>
              </af:panelHeader>
            </af:showDetailItem>
            <af:showDetailItem text="TabTwo"/>
            <af:showDetailItem text="TabTre"/>
            <af:showDetailItem text="TabFor"/>
            <af:showDetailItem text="TabFiv"/>
          </af:showOneTab>
        </af:panelGroup>
      </af:form>
    </af:document>
  </f:view>

Now select the upper Tab "TabOne" then in either of the under tab, select a different one, like the "underTab 4",
now click back on the upper Tab "TabOne" you will notice that the TabPanel below the page (the one corresponding to the main tab has its selection at "TabFor" while it should really be at "TabOne". This is the inconsistency. I'll be searching to correct this small rendering bug.


> Nested <af:showOneTab/> out-of-sync
> -----------------------------------
>
>                 Key: ADFFACES-47
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-47
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>            Reporter: Simon Lessard
>            Priority: Minor
>
> Copied from http://forums.oracle.com/forums/thread.jspa?messageID=1298055&#1298055
> The bug occurs when you nest a showOneTab within another showOneTabs with position attribute sets to both.
> The effect of the bug is that the bottom tab of the "master" showOneTabs will use the disclosed index of the child showOneTabs which result in an inconsistency on the UI as an out of sync above and bottom tabs. Here's two screenshots:
>     * http://agora.ulaval.ca/~siles10/ShowOneTabsBug1.JPG
>     * http://agora.ulaval.ca/~siles10/ShowOneTabsBug2.JPG

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira