5 Replies Latest reply on Aug 1, 2017 7:04 AM by Michal Petrov

    How to Display more than one Rich:DataTable in single page?

    krish naik Newbie

      I want to display dynamic number of rich data tables in one page based on data so what i am doing is, within c:foreach looping ui:include which points to datatable.xhtml.but as result i am getting only one data table.any solution will be appreciated..

       

      sample code :

       

      <c:forEach items="#{bean.list}" var="item">

      <ui:include src="/dataTable.xhtml" >

      <ui:param name="values" value="#{item.value}" />

      <ui:param name="some other values" value="#{item.key}" />

      </ui:include>

      </c:forEach>