1 Reply Latest reply on Feb 6, 2009 4:51 PM by nbelaevski

    How to create columns dynamicaly inside rich:dataTable using

    koloale1

      Hello!
      I want to create a dynamic set of columns inside rich:dataTable based on the data object for the current row, i.e. var variable.
      a4j:repeat, rich:columns, c:forEach don't work.

      I want to perform something like that:

      <rich:dataTable var="entry" value="#{bean.entities}">
       <rich:columns value="#{entry.hosts}" var="host">
       <h:outputText value="#{host}"/>
       </rich:columns>
      </rich:dataTable>


      Many thanks,
      Alexey