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 "Simon Lessard (JIRA)" <ad...@incubator.apache.org> on 2006/07/06 13:18:32 UTC

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

Nested <af:showOneTab/> out-of-sync
-----------------------------------

         Key: ADFFACES-47
         URL: http://issues.apache.org/jira/browse/ADFFACES-47
     Project: MyFaces ADF-Faces
        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


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

Posted by "Matthias Weßendorf (JIRA)" <ad...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/ADFFACES-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Weßendorf updated ADFFACES-47:
---------------------------------------

        Fix Version/s: 1.0.0-incubating-core
    Affects Version/s: 1.0.0-incubating-core

> Nested <af:showOneTab/> out-of-sync
> -----------------------------------
>
>                 Key: ADFFACES-47
>                 URL: https://issues.apache.org/jira/browse/ADFFACES-47
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>    Affects Versions: 1.0.0-incubating-core
>            Reporter: Simon Lessard
>         Assigned To: Adam Winer
>            Priority: Minor
>             Fix For: 1.0.0-incubating-core
>
>         Attachments: ShowOneTabRenderer.patch
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.


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

Posted by "Adam Winer (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-47?page=all ]

Adam Winer reassigned ADFFACES-47:
----------------------------------

    Assignee: Adam Winer

> 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
>         Assigned To: Adam Winer
>            Priority: Minor
>         Attachments: ShowOneTabRenderer.patch
>
>
> 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

        

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

Posted by "Adam Winer (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-47?page=all ]

Adam Winer updated ADFFACES-47:
-------------------------------

        Status: Resolved  (was: Patch Available)
    Resolution: Fixed

Patch checked in;  thanks!

> 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
>         Assigned To: Adam Winer
>            Priority: Minor
>         Attachments: ShowOneTabRenderer.patch
>
>
> 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

        

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

Posted by "Pierre-Luc Archambault (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-47?page=all ]

Pierre-Luc Archambault updated ADFFACES-47:
-------------------------------------------

    Attachment: ShowOneTabRenderer.patch

Added 2 lines of code that correct this issues. Somehow, the selection of the current 'selected' item wasn't done in the postrender method as it was the case in prerender method.

Retested afterward with the given example and it was correctly behaving.

> 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
>         Attachments: ShowOneTabRenderer.patch
>
>
> 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

        

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

Posted by "Pierre-Luc Archambault (JIRA)" <ad...@incubator.apache.org>.
    [ 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

        

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

Posted by "Pierre-Luc Archambault (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-47?page=all ]

Pierre-Luc Archambault updated ADFFACES-47:
-------------------------------------------

    Status: Patch Available  (was: Open)

> 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
>         Attachments: ShowOneTabRenderer.patch
>
>
> 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