ICEfaces
  1. ICEfaces
  2. ICE-4112

If a menuItem has no action/actionListener don't close menu

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.2 SP1
    • Fix Version/s: 1.8RC2, 1.8
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      All

      Description

      If a menuItem does not have an action or actionListener set for it then it should do nothing to the menuBar. Currently if you open a menuBar and then click on a menuItem that doesn't have an action or actionListener set, it removes the menuBar. An example of the required functionality can be seen in any browser (IE, FireFox). For example, in IE if you open the "File" menu and then click on the "Send" menuItem the menu does not disappear.

      A potential workaround could be to use the "onclick" attribute of the menuItem and call "return false;" to stop any processing of the menuItem but it work.

        Issue Links

          Activity

          Arran Mccullough created issue -
          Arran Mccullough made changes -
          Field Original Value New Value
          Salesforce Case [50070000007z4tx]
          Arran Mccullough made changes -
          Attachment fig3.JPG [ 11533 ]
          Arran Mccullough made changes -
          Description If a menuItem does not have an action or actionListener set for it then it should do nothing to the menuBar. Currently if you open a menuBar and then click on a menuItem that doesn't have an action or actionListener set, it removes the menuBar. An example of the required functionality can be seen in any browser (IE, FireFox). For example, in IE if you open the "File" menu and then click on the "Send" menuItem the menu does not disappear. If a menuItem does not have an action or actionListener set for it then it should do nothing to the menuBar. Currently if you open a menuBar and then click on a menuItem that doesn't have an action or actionListener set, it removes the menuBar. An example of the required functionality can be seen in any browser (IE, FireFox). For example, in IE if you open the "File" menu and then click on the "Send" menuItem the menu does not disappear.

          A potential workaround could be to use the "onclick" attribute of the menuItem and call "return false;" to stop any processing of the menuItem but it work.
          Ken Fyten made changes -
          Assignee Priority P1
          Assignee Yip Ng [ yip.ng ]
          Hide
          yip.ng added a comment -

          The onclick attribute is already set to "return false;" when there is no action listener. So, that "workaround" is no good. Something else more complicated (in the client side JavaScript?) is causing this.

          Show
          yip.ng added a comment - The onclick attribute is already set to "return false;" when there is no action listener. So, that "workaround" is no good. Something else more complicated (in the client side JavaScript?) is causing this.
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #18451 Fri Feb 27 12:35:21 MST 2009 yip.ng ICE-4112
          Changed to not hide menu when clicking on item with no listener.
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/bridge/lib/extras/keyboardNavigator.js
          yip.ng made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 1.8 [ 10161 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Link This issue is duplicated by ICE-3868 [ ICE-3868 ]
          Ken Fyten made changes -
          Fix Version/s 1.8RC2 [ 10163 ]
          Fix Version/s 1.8 [ 10161 ]
          Ken Fyten made changes -
          Fix Version/s 1.8 [ 10161 ]
          Assignee Priority P1
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Assignee Yip Ng [ yip.ng ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: