1 Reply Latest reply on Jun 2, 2009 2:57 PM by Nick Belaevski

    Can not add panelMenuItem tag into the dataTable.

    benziman kirism Newbie

      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">
       <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}"/>

      Hope get the advice from you.

      thank regards