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

    Can not add panelMenuItem tag into the dataTable.

      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>


      Hope get the advice from you.

      thank regards