By using t:dataTable, one is able to list out based on columns.
<t:dataTable var=”itemInfo” value=”#{itemBean.itemList}” ….>
<h:column>
<h:outputText value=”#{artistCategoryInfo.name}” />
</t:dataTable>
It’ll be able to display items in this way:
A
B
C
D
To display in horizontal way, use t:dataList
<t:dataList var=”itemInfo” value=”#{itemBean.itemList}” layout=”simple”>
<h:outputText value=”#{artistCategoryInfo.name}” />
</t:dataList>
This way, it’ll display in
A B C D …