3 Replies Latest reply on Aug 24, 2010 5:50 AM by Ilya Shaikovsky

    rich:subTable with extendedDataTable?

    Tom McCobb Newbie

      Is it possible to nest a subTable in an extendedDataTable?  When I try it, the subtable will not render.

       

      <rich:extendedDataTable id="searchtable" selectionMode="none"
                          height="565px" tableState="#{search.searchResultsTableState}"
                          binding="#{search.searchResultsTable}" rows="#{search.rowsToDisplay}"
                          value="#{search.searchResults}" var="record" width="100%">
                         
                          <rich:column width="50" label="Remove" id="colRemove">
                              <f:facet name="header">
                                  <h:outputText value="Remove" />
                              </f:facet>
                              <h:selectBooleanCheckbox value="#{record.selected}" />
                          </rich:column>

       

      ....

       

           <rich:subTable var="donation" value="#{record.donationList}"
                              rowClasses="companyChildren">
                              <rich:column>
                                  <f:facet name="header">
                                      <h:outputText value="Date" />
                                  </f:facet>
                                  <h:outputText value="#{donation.donationDate}" />
                              </rich:column>

       

              </rich:subTable>

       

      </rich:extendedDataTable>