1 Reply Latest reply on Sep 4, 2008 3:58 AM by Ilya Shaikovsky

    why do rich:panelMenuGroup action not called?

    wang baishi Newbie

      hello, rich:panelMenuGroup's action seems not called. following is the source fragment:

      <h:form id="form">
      <rich:panelMenu id="left_menu" model="ajax" iconExpandedGroup="disc" iconCollapsedGroup="disc" iconExpandedTopGroup="chevronUp" iconGroupTopPosition="right"
      iconCollapsedTopGroup="chevronDown" iconCollapsedTopPosition="right">
      <c:forEach var="mainMenu" items="#{menuBean.mainMenus}">
      <rich:panelMenuGroup label="#{mainMenu.name}" action="#{menuBean.updateByMain}">
      <c:forEach var="subMenu" items="#{menuBean.subMenus}">
      <rich:panelMenuItem label="#{subMenu.name}" action="#{menuBean.updateBySub}">
      <f:param name="incidentCatalog" value="#{mainMenu.code}" />
      <f:param name="lawCatalog" value="#{subMenu.id}" />
      </rich:panelMenuItem>
      </c:forEach>
      </rich:panelMenuGroup>
      </c:forEach>
      </rich:panelMenu>
      </h:form>

      the menuBean.updateByMain never called, and menuBean.updateBySub is fine. thanks.