ICEfaces
  1. ICEfaces
  2. ICE-4104

Not setting action or actionListener on sub-menuItem breaks the tab order

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7.2 SP1, 1.8, 1.8.1
    • Fix Version/s: 1.8.2-RC1, 1.8.2
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      All
    • Workaround Exists:
      Yes
    • Workaround Description:
      Set an action or actionListener to the menuItem.

      Description

      If a sub-menuItem that has children menuItem's does not have its action or actionListener method set the tab order is broken. When tabbing through the menuItem's tabbing is broken when it reaches a sub-menuItem that has child menuItem's and no action event set to it. The tabbing seems to loop between the first menuItem and the sub-menuItem, it won't move to other components after the sub-menuItem. The action/actionListener does not need to do anything.

      File
       - File 1
       - File 2 <--No action set
           - Sub-File 2
       - File 3 <-- Tabbing does not reach here.

        Activity

        Hide
        Adnan Durrani added a comment -

        Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\menubar\MenuItemRenderer.java
        Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\menubar\MenuItemRenderer.java
        Completed: At revision: 18998

        Show
        Adnan Durrani added a comment - Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\menubar\MenuItemRenderer.java Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\menubar\MenuItemRenderer.java Completed: At revision: 18998

          People

          • Assignee:
            Adnan Durrani
            Reporter:
            Arran Mccullough
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: