Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ideas, @DataModel + <rich:dataTable>

 
Matt Couto
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic