• Post Reply Bookmark Topic Watch Topic
  • New Topic

nested dataTables  RSS feed

Anupam Sinha
Ranch Hand
Posts: 1090
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
plss help !

i have 3 dataTables, all 3 have conditional data display.

i have the data coming as desired but the headers , i am not able to control..

this is the snippet:
<h ataTable value="#{(AuditBean.listOfRpRejectionCompliances==null)?AuditBean.listOfRpReturnedCompliances:null}" var="compliances2">

<f:facet name="header">
<h utputText value="Time Of Event" style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;font-size: 10px;font-weight: bold;" />
<f:subview id="one">
<h utputText value="#{compliances2.timeOfEvent}" />

the header is displayed even when i dont have teh data


another issue is , i want to display 2 lists under one header , can i do that with dataTable ?
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!