Hello,
I am trying to find a way to display records from a dataTable side by side
instead of one record per row (line). Following is a section of my datatable:
<h:dataTable id="items" value="#{itemController.items}" var="item"
rowClasses="oddRow, evenRow" headerClass="tableHeader">
<!-- Item ID -->
<h:column>
<f:facet name="header">
<h:panelGroup>
<h:outputText value="Item ID"/>
</h:panelGroup>
</f:facet>
<h:commandLink action="#{itemController.subItemsDirector}">
<h:outputText value="#{item.itemId}"/>
</h:commandLink>
</h:column>
Basically, what I am looking to do is to display three records in a row as in the following:
A B C
D E F
........
X Y Z
I would appreciate if someone could point me towards the solution.
I know that the above might be possible to achieve in the JSF 1.2, by using c:forEach tag, however, I am trying to stick with the JSF 1.1 for now.
Thank you for your time,
Rauf