This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes JSF and the fly likes Ideas, @DataModel + <rich:dataTable> Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Ideas, @DataModel + <rich:dataTable>" Watch "Ideas, @DataModel + <rich:dataTable>" New topic

Ideas, @DataModel + <rich:dataTable>

Matt Couto
Ranch Hand

Joined: Jul 10, 2009
Posts: 38
Hi fellas,
I need an idea about how to render the rich:dataTable component with two, 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
subject: Ideas, @DataModel + <rich:dataTable>