I use a DataTable to show multiple objects that are stored in an arraylist
<h:dataTable value="#{commandCenter.onlineEmployees}" var="emp">
<h:column >
<div class="employee">
<div id="image">
<h:outputText value="img"></h:outputText>
</div>
<h:outputText value="#{emp.name}, #{emp.age}" />
<div id="name">
<h:outputText value="" />
</div>
</div>
</h:column>
Actually this only shows all values in one column and multiple rows.
I want to show them in multiple columns . I couldn't find a tag like <h:row>
, so how can I do this?