I need an idea about how to render the rich:dataTable component with two conditions...like, I'm makin' use of a @DataModel in 2 rich:dataTables. The first one should be rendered only if the objects in that List have the attribute 'status' equal to 'A' and the second if that attribute's equal to 'I' for example. and of course, for both dataTables they must be rendered if the rowCount's > 0.
I could make it on the columns but not for the <f:facet name="header">, if the dataModel's empty, it doesnt show the column but the header....
thanks in advance
ps.: using jboss seam + richfaces + jsf