Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.7.2 SP1
-
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.
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
- is duplicated by
-
ICE-3868 Clicking on parent menuItem causes menu to close
- Closed
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 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #18451 | Fri Feb 27 12:35:21 MST 2009 | yip.ng | Changed to not hide menu when clicking on item with no listener. |
Files Changed | ||||
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 -
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 ] |
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.