Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.0.9m9
    • Fix Version/s: 1.1.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      MyFaces 1.0.9, Windows XP SP1, Tomcat 5.5

      Description

      I have upgraded to MyFaces 1.0.9 (Was in the 1.0.7) and the JSCookMenu dos not work anymore.
      My children menus does not appear on the menu, I have installed the MyFacesExamples and the last menu "Info" does not work too. Only the top level menus appear.

      Here is My code :

      JSP :

      <x:jscookMenu layout="hbr" theme="ThemeIE" >

      <x:navigationMenuItems id="menus" value="#

      {menuBean.menus}

      " />

      </x:jscookMenu>

      MenuBean :

      public String getMenus()

      { NavigationMenuItem menu[] = new NavigationMenuItem[1]; menu[0] = new NavigationMenuItem("Rogerio", null, null, true); NavigationMenuItem items[] = new NavigationMenuItem[2]; menu[0].setNavigationMenuItems(items); items[0] = new NavigationMenuItem("Rogerio Filho 1", "go_contact", null, false); items[1] = new NavigationMenuItem("Rogerio Filho 2", "go_copyright", null, false); return menu; }

      Rogerio

      1. myfaces-196.diff
        0.7 kB
        Martin Bosak

        Activity

        Rogerio Saulo created issue -
        Hide
        Martin Bosak added a comment -

        Attached is a patch to fix this.

        I also re-worked the code to eliminate generating an ArrayIndexOutOfBounds Exception. (It's more efficient to avoid the creation of unnecessary Exceptions if possible).

        Show
        Martin Bosak added a comment - Attached is a patch to fix this. I also re-worked the code to eliminate generating an ArrayIndexOutOfBounds Exception. (It's more efficient to avoid the creation of unnecessary Exceptions if possible).
        Martin Bosak made changes -
        Field Original Value New Value
        Attachment myfaces-196.diff [ 19714 ]
        sean schofield made changes -
        Assignee sean schofield [ schof ]
        sean schofield made changes -
        Fix Version/s Nightly Build [ 11074 ]
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        sean schofield made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        sean schofield made changes -
        Workflow jira [ 41792 ] MyFaces Workflow [ 12347746 ]
        sean schofield made changes -
        Workflow MyFaces Workflow [ 12347746 ] MyFaces Workflow2 [ 12349363 ]
        sean schofield made changes -
        Workflow MyFaces Workflow [ 12347746 ] MyFaces Workflow2 [ 12349391 ]
        sean schofield made changes -
        Workflow MyFaces Workflow [ 12347746 ] MyFaces Workflow2 [ 12349533 ]
        sean schofield made changes -
        Workflow MyFaces Workflow2 [ 12349533 ] MyFaces Workflow [ 12353845 ]
        sean schofield made changes -
        Workflow MyFaces Workflow [ 12353845 ] MyFaces Workflow2 [ 12355418 ]
        sean schofield made changes -
        Workflow MyFaces Workflow2 [ 12355418 ]  MyFaces Workflow [ 12357006 ]
        sean schofield made changes -
        Workflow  MyFaces Workflow [ 12357006 ] MyFaces Workflow2 [ 12358123 ]
        sean schofield made changes -
        Workflow  MyFaces Workflow [ 12358123 ] MyFaces Workflow2 [ 12358612 ]
        sean schofield made changes -
        Workflow  MyFaces Workflow [ 12358612 ] MyFaces Workflow2 [ 12359213 ]
        sean schofield made changes -
        Workflow  MyFaces Workflow [ 12359213 ] MyFaces Workflow2 [ 12359802 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        11d 1h 57m 1 sean schofield 30/Apr/05 00:20
        Resolved Resolved Closed Closed
        88d 22h 54m 1 sean schofield 27/Jul/05 23:15

          People

          • Assignee:
            sean schofield
            Reporter:
            Rogerio Saulo
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development