1 Reply Latest reply on Jan 16, 2008 11:08 AM by robertocarlos1

    Richfaces datatable render option

    ismail_mca

       

      <h:panelGrid>
      input,output etc JSF tags
      </h:panelGrid>
      
      <h:panelGrid>
       <h:dataTable value=#{data.results} var="data">
       results Columns
       </h:dataTable>
      </h:panelGrid>


      In the above code snippet;I want to show/render first panel grid components based on the data table results.

      If datatable results are empty/null,first panelgrid component should not display/render.

      If datatable results are non empty,first panelgrid component should be display/render.

      Please advise me. how i can do this using rich tags.

      Thanks
      Ismail