How to skip some rows to be displayed using dataTable:
<h:dataTable cellspacing="0" id="dogs" value="#{dogBean.dogs}" var="dog" rendered="#{dogBeans.dogs != null}">
<h:column id="nameColumn">
<h:outputText value="#{dog.name}"/>
</h:column>
<h:column id="breedColumn">
<h:outputText value="#{dog.breed}"/>
</h:column>
</h:dataTable>
I want to display all dogs, but those how have an age greater than 10. dog.age > 10.
I'm using Seam.