5 Replies Latest reply on Aug 5, 2008 3:02 AM by Shervin Asgari

    dataTable inside another dataTable?

    Shervin Asgari Master

      Hello. Can you have a dataTable inside another dataTable?
      I have a two Lists I want to go through, but I want to show the second List inside one of the columns of the first List. Is this possible?

      This is what I have tried to accomplish:

      <rich:dataTable id="personBevhaverResultList" var="pbbList" value="#{personBevhaverResultList}">
      [snip]...[/snip]
      <rich:column align="center">
       <f:facet name="header"><h:outputText value="Alkohol group"/></f:facet>
       <rich:dataTable id="alkoholResultList" border="0" var="baList" value="#{alkoholResultList}">
       <h:outputText value="#{baList.alkoholgroup.name}"/>
      </rich:dataTable>
      </rich:column>
      [snip]...[/snip]
      


      I have also tried a subTable but that didnt work either. This code does not output anything. My column is blank.