Hi all
i am creating the panelMenuGroup , and adding the some components into that likes panelMenuitems . but the convenient create many panelmenuItems to insert panelMenuGroup to use the dataTable replace that .
in this code i used to dataTable replaced for inserting many panelmenuItems by manual input , i put panelMenuGroup inside the dataTable for it repeat the components . But i get the error
<rich:panelMenuGroup label="Tradebase Home page"> <h:dataTable value="#{Listitem.chapterKeys}" var="chapterKey" styleClass="links" columnClasses="linksColumn"> <h:column> <rich:panelMenuItem mode="none" onclick="document.location.href='http://labs.jboss.com/jbossrichfaces/"> <h:outputLink value="http://labs.jboss.com/jbossrichfaces/"> <h:outputText value="#{lblmsg[chapterKey]}"></h:outputText> <f:param name="chapter" value="#{chapterKey}"/> </h:outputLink> </rich:panelMenuItem> </h:column> </h:dataTable> </rich:panelMenuGroup>
Hi,
That's not supported out of the box. You can use c:forEach instead.