Details
-
Type: Bug
-
Status: Closed
-
Priority: Critical
-
Resolution: Fixed
-
Affects Version/s: 1.6DR#3
-
Component/s: ICE-Components
-
Labels:None
-
Environment:WinXP SP2, Firefox 1.5.0.11, JBoss 4.0.4 GA, JSF RI 1.2, component-showcase-facelets
Description
When using the ice:menuBar, ice:menuItem. and ice:menuItems components, in the Facelets version of component-showcase, the menus don't work.
1. Clicking on the menus does not send a notification to the server. The only thing you see in the Javascript console is:
4:18:14 debug [window] : Interup pressed
2. Some of the menu items show the right arrow image indicative of child menu items, when they do not have children.
Testing with the JSF RI 1.1 + Facelets version of component-showcase, and the JSF + JSP version of component-showcase, shows that they do not share these problems.
1. Clicking on the menus does not send a notification to the server. The only thing you see in the Javascript console is:
4:18:14 debug [window] : Interup pressed
2. Some of the menu items show the right arrow image indicative of child menu items, when they do not have children.
Testing with the JSF RI 1.1 + Facelets version of component-showcase, and the JSF + JSP version of component-showcase, shows that they do not share these problems.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Basically, MenuItem specifically manages its own Action and ActionListener MethodBindings, which means that they don't benefit from the automatic MethodBinding vs MethodExpression handling the UICommand gives. It should now work interchangeably with JSF 1.1 and JSF 1.2.
Subversion 13665
icefaces\component\src\com\icesoft\faces\component\menubar\MenuItem.java
icefaces\component\src\com\icesoft\faces\component\menubar\MenuItemRenderer.java
icefaces\component\src\com\icesoft\faces\component\menubar\MenuItemsRenderer.java