aspose file tools*
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
JavaRanch » Java Forums » Java » JSF
Bookmark "Ideas, @DataModel + <rich:dataTable>" Watch "Ideas, @DataModel + <rich:dataTable>" New topic
Author

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 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Ideas, @DataModel + <rich:dataTable>