7 Replies Latest reply on Apr 24, 2009 1:30 PM by Nick Belaevski

    rich:menuItem causes javascript error after moving to 3.3.1

    ZJ DA Newbie

      Hi, After moving to Richfaces 3.3.1 (beta 1, 2, 3 and 4), I get javascript error: Excepted ')' for rich:menuItem:

      <rich:dropDownMenu>
       <f:facet name="label">
       <h:panelGroup>
       <h:graphicImage value="/images/sample.gif" styleClass="pic" />
       <h:outputText value="Perspective" />
       </h:panelGroup>
       </f:facet>
       <rich:menuItem submitMode="server" value="Home" action="#{sessionInfo.perspectiveAction}" immediate="true" icon="/images/home2.gif">
       <a4j:actionparam name="perspective" value="home" assignTo="#{sessionInfo.perspective}" />
       </rich:menuItem>
      </rich:dropDownMenu>
      


      There was no such error for Richfaces 3.3.0.
      Thanks,
      -ZJ