2 Replies Latest reply on Nov 16, 2009 12:56 PM by Carsten Längsfeld

    Problem with rich:menuItem and onclick handler

    Carsten Längsfeld Newbie

      Hi,
      I added an onclick handler to a rich:menuItem but the JS method is never called. When I inspected the generated Javascript using Firebug the method is not added to the menu items onclick handler. Is this a bug?

      I am using Richfaces 3.3.1.

      The code looks like this:

      <h:form id="test">
       <rich:toolBar>
       <rich:menuItem onclick="alert('5')" value="Test" />
       </rich:toolBar>
       </h:form>


      Best Regards
      Carsten