ICEfaces
  1. ICEfaces
  2. ICE-7689

Setting selectedIndex on ace:tabSet allows disabled ace:tabPanes to be selected

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-2.0.0.GA
    • Fix Version/s: EE-2.0.0.GA_P01
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces EE 2.0 SF 10754

      Description

      Scenario: All tabs are set as disabled. The selectedIndex for the ace:tabSet is initially set to -1. When the page is loaded all tabs in the tab set can be selected.

        Activity

        Arran Mccullough created issue -
        Arran Mccullough made changes -
        Field Original Value New Value
        Attachment Case10754Example2.zip [ 14002 ]
        Attachment Case10754Example2.war [ 14003 ]
        Arran Mccullough made changes -
        Salesforce Case [5007000000JOG3R]
        Ken Fyten made changes -
        Summary Setting selectedIndex on tabSet and allows disabled tabs to be selected Setting selectedIndex on ace:tabSet allows disabled ace:tabPanes to be selected
        Fix Version/s EE-2.0.0.GA_P01 [ 10271 ]
        Assignee Priority P1
        Affects Version/s EE-2.0.0.GA [ 10263 ]
        Affects Version/s 3.0.RC2 [ 10313 ]
        Assignee yip.ng [ yip.ng ]
        Ken Fyten made changes -
        Comment [ Regarding the fix for this, I don't think fixing their issues with using -1 is the right way to solve the problem. Their attempt to use -1 is a workaround for the already acknowledged-as-bugged behaviour of the first tab being loaded when it is disabled.

        Both require altering YUI, so why fix their workaround when we can fix the actual problem?

        Nils ]
        yip.ng made changes -
        Attachment screenshot-1.png [ 14004 ]
        yip.ng made changes -
        Attachment screenshot-2.png [ 14005 ]
        yip.ng made changes -
        Attachment screenshot-3.png [ 14006 ]
        yip.ng made changes -
        Attachment screenshot-3.png [ 14006 ]
        yip.ng made changes -
        Attachment screenshot-3.png [ 14007 ]
        Ken Fyten made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Priority P1
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            yip.ng
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: