2 Replies Latest reply on Nov 26, 2008 10:16 AM by wassup lol

    Can I use ui:repeat inside rich:dataTable

    wassup lol Newbie

      I am currently displaying database tables as is dynamically on one single page. So I don't have the column count when I design my page,

      <rich:dataTable id="twoTbl" value="#{tableData.data}" var="tableRow" styleClass="Table1" rowKeyVar="row">
      <f:facet name="header">#{tableData.columnNames[0]}</f:facet>
      <h:outputText value="#{tableRow[0]}" />
      <f:facet name="header">#{tableData.columnNames[1]}</f:facet>
      <h:outputText value="#{tableRow[1]}" />

      Like above tableData has data as list of lists and a list of column names.

      Can somebody help me with this.