0 Replies Latest reply on Oct 12, 2007 12:11 PM by pippo Inzaghi

    repeat columns inside dataTable or scrollableDataTable

    pippo Inzaghi Newbie

      I'd like to create a table and have repeating columns inside this.
      I need to use rich:scrollableDataTable or rich:dataTable

      I thought I was able to do this with the code below

       width="#{showcaseDataModel.width}" id="itemList"
       value="#{showcaseDataModel.dataModel}" var="item"
       <a4j:repeat id="repeatColumns" value="#{complexShowcaseDataModel.headers}" var="col">
       <f:facet name="header">
       <h:outputText value="complexShowcaseDataModel.headers.description" />
       <h:outputText value="#{item.alpha}"></h:outputText>

      complexShowcaseDataModel.headers is a list of Objects.

      why doesn't it work?
      (the repeatition is instead working correctly in this code
      <a4j:repeat value="#{complexShowcaseDataModel.headers}" var="go">
      <h:outputText value="bang" />