ICEfaces
  1. ICEfaces
  2. ICE-1434

Menus broken with JSF RI 1.2 + Facelets

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.6DR#3
    • Fix Version/s: 1.6DR#4, 1.6
    • 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.

        Activity

        Hide
        Mark Collette added a comment -

        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

        Show
        Mark Collette added a comment - 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

          People

          • Assignee:
            Unassigned
            Reporter:
            Mark Collette
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: