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
<rich:scrollableDataTable
height="#{showcaseDataModel.height}"
width="#{showcaseDataModel.width}" id="itemList"
rows="#{showcaseDataModel.displayRows}"
value="#{showcaseDataModel.dataModel}" var="item"
sortMode="multi">
<a4j:repeat id="repeatColumns" value="#{complexShowcaseDataModel.headers}" var="col">
<rich:column>
<f:facet name="header">
<h:outputText value="complexShowcaseDataModel.headers.description" />
</f:facet>
<h:outputText value="#{item.alpha}"></h:outputText>
</rich:column>
</a4j:repeat>
</rich:scrollableDataTable>
<a4j:repeat value="#{complexShowcaseDataModel.headers}" var="go">
<h:outputText value="bang" />
</a4j:repeat>