ICEfaces
  1. ICEfaces
  2. ICE-3445

menuItems has bug with action and actionListener

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.7.1
    • Fix Version/s: 2.0.1
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Unknown
    • Workaround Exists:
      Yes
    • Workaround Description:
      Always use explicit ids with the MenuItem components you create for your ice:menuItems. And make them in your constructor, and just return them in the List getter method.

      Description

      If you specify an action or actionListener on ice:menuItems, it throws an exception from not finding an enclosing form.

        Issue Links

          Activity

          Mark Collette created issue -
          Hide
          Jens Hartwig added a comment -

          I found an this old issue

          So the solution is to build the menuItem in the constructor and not in the getter.

          Show
          Jens Hartwig added a comment - I found an this old issue So the solution is to build the menuItem in the constructor and not in the getter.
          Jens Hartwig made changes -
          Field Original Value New Value
          Link This issue duplicates ICE-2361 [ ICE-2361 ]
          Mark Collette made changes -
          Link This issue duplicates ICE-3863 [ ICE-3863 ]
          Mark Collette made changes -
          Workaround Description Always use explicit ids with the MenuItem components you create for your ice:menuItems. And make them in your constructor, and just return them in the List getter method.
          Workaround Exists [Yes]
          Salesforce Case []
          Hide
          Mark Collette added a comment -

          Use the work-around, which is the proper way of making use of menuItems.

          Show
          Mark Collette added a comment - Use the work-around, which is the proper way of making use of menuItems.
          Mark Collette made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 2.0.1 [ 10255 ]
          Resolution Won't Fix [ 2 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: