2 Replies Latest reply on Jun 4, 2008 7:12 AM by Milan Manojlovic

    rich:dropDownMenu not working with event=onclick

    Milan Manojlovic Newbie

      Hi all!

      I've tried searching the forums for this issue, but found nothing similar. Maybe I'm the only one one needing the "onclick" menu :)

      I'm using myfaces 1.2.3. (tried it also with JSF-RI 1.2_09beta), apache tomcat 6.0.14 , facelets 1.1.3 and openJPA 1.02.

      I've made an example application with nothing but a menu on the page

       <ui:define name="htmlBody">
       <div id="top">
       <h:form id="topForm">
       <h:panelGrid columns="1">
       <h:outputText value="test"/>
       <rich:dropDownMenu event="onclick" id="menu">
       <f:facet name="label">
       <rich:menuItem value="john" action="#{testBean.john}"/>
       <rich:menuItem value="doe" action="#{testBean.doe}"/>

      When i use the - event="onclick" - nothing happens in richfaces 3.1.5GA, 3.2.0GA, 3.2.1GA ...
      event="onclick" works perfect in richfaces 3.1.4GA but I can't use it because of another bug.

      Has anyone seen this before? Is there a workaround?
      Thanks in advance