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

          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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: