Hi everyone,
i'm hopelessly try to build a rich PanelMenu in een dynamic way, but i't not working for me. I'v tried it using <c:forEach>:
<h:form id="form"> <h:panelGrid columns="2" columnClasses="cols" width="100%"> <rich:panelMenu style="width:275px" mode="ajax" iconExpandedGroup="triangle" iconCollapsedGroup="triangle" iconExpandedTopGroup="triangleUp" iconGroupTopPosition="right" iconCollapsedTopGroup="triangleDown"> <rich:panelMenuGroup label="Kennisgebieden"> <c:forEach items="#{kennisgebiedController.kennisgebieden}" var="item"> <rich:panelMenuItem label="#{item.titel}" > <f:param name="current" value="F:Parameter"/> </rich:panelMenuItem> </c:forEach> </rich:panelMenuGroup> </rich:panelMenu> </h:panelGrid> </h:form>
hiya,
also have the problem with c:forEach and an empty menu. Would also appreciate a tutorial or solution.
thx,
traysa