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

        Mark Collette created issue -
        Mark Collette made changes -
        Field Original Value New Value
        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.
        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.
        Ken Fyten made changes -
        Fix Version/s 1.6DR#4 [ 10060 ]
        Assignee Priority P2
        Assignee Rob Mayhew [ rob.mayhew ]
        Ken Fyten made changes -
        Assignee Priority P2 P1
        Priority Major [ 3 ] Critical [ 2 ]
        Ken Fyten made changes -
        Assignee Rob Mayhew [ rob.mayhew ] Mark Collette [ mark.collette ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #13665 Fri Apr 27 20:51:12 MDT 2007 mark.collette ICE-1434 : Menus broken with JSF RI 1.2 + Facelets
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/menubar/MenuItemsRenderer.java
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/menubar/MenuItemRenderer.java
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/menubar/MenuItem.java
        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
        Mark Collette made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 1.6 [ 10031 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P1
        Assignee Mark Collette [ mark.collette ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: