1 Reply Latest reply on May 7, 2008 4:26 PM by Alexander Smirnov

    rich:panelMenu in dinamyc way

    osvaldo gomez Newbie

      Hi

      I'm filling a rich:panelMenuGroup using JSTL

      <f:subview id="nodes">
       <rich:panelMenu style="width:200px" mode="ajax" iconExpandedGroup="disc" iconCollapsedGroup="disc"
       iconExpandedTopGroup="chevronUp" iconGroupTopPosition="right" iconCollapsedTopGroup="chevronDown">
       <rich:panelMenuGroup label="NODOS" >
       <c:forEach items="${userLogin.nodes}" var="node">
       <c:set var="idNode" value="${node.id}" scope="request"/>
       <rich:panelMenuItem action="#{userLogin.getSemaphoreNode}">
       <f:param name="current" value="#{idNode}"/>
       <c:out value="${node.name}"></c:out>
       <c:out value="${idNode}"></c:out>
       </rich:panelMenuItem>
       </c:forEach>
       </rich:panelMenuGroup>
       </rich:panelMenu>
      </f:subview>


      But the parameter fill with the last value only and I don't know why

      Could somebody help me with this please?