-
1. Re: rich:panelMenuGroup
sergeysmirnov Apr 25, 2008 3:29 PM (in response to osvaldogomez)you can do it from the java code (like any other JSF component) or on the page using Facelets' c:forEach
-
2. Re: rich:panelMenuGroup
osvaldogomez Apr 28, 2008 7:36 AM (in response to osvaldogomez)Sergey:
I did it in this way:
<rich:panelMenu style="width:200px" mode="ajax"
iconExpandedTopGroup="chevronUp" iconGroupTopPosition="right"
iconCollapsedTopGroup="chevronDown" >
<rich:panelMenuGroup label="NODOS" >
<c:forEach items="${userLogin.user.nodes}" var="node">
<rich:panelMenuItem>
<c:out value="${node.name}"></c:out>
<c:url value="userLogin.getBynode">
<c:param name="current" value="${node.id}"/>
</c:url>
</rich:panelMenuItem>
</c:forEach>
</rich:panelMenuGroup>
</rich:panelMenu>
but when the component is rendered it display
NodoEjem1 ?current=1
obviusly I hope to show only NodoEjem1 and NOT to show '?current=1'
What did I make wrong whit this, can you help me please?
Thank you