• Post Reply Bookmark Topic Watch Topic
  • New Topic

nested dataTables

 
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">

<h:column>
<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:facet>
<f:subview id="one">
<h utputText value="#{compliances2.timeOfEvent}" />
</f:subview>
</h:column>

---------------
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 ?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!