title: rich dataTable can not use iterate variable for a nested loop
body: <p>I'm building a rich datatable with a dynamic amount of columns. It seems to me, that it is not a big thing, but I'm trying to get an answer since hours.
  The issue is when I want to use the iteration variable from the datatable for a nested loop. In the nested loop I try to create for every row the same dynamic amount of columns.
  Probably it becomes more clear when I show some code:</p>
  
  <pre><code>&lt;rich:dataTable styleClass="waiDataTable" width="700"
  rowClasses="odd,even" value="#{reportingModel.reportingDoiPoolRows}"
  var="reportingDoiPoolRow"
  rendered="#{not empty reportingModel.reportingDoiPoolRows}"&gt;
  
  &lt;!-- Start header of the data-table --&gt;
  &lt;f:facet name="header"&gt;
      &lt;rich:columnGroup&gt;
  
          &lt;rich:column rowspan="2"&gt;
              &lt;h:outputText value="Pool" /&gt;
          &lt;/rich:column&gt;
  
          &lt;c:forEach items="#{reportingModel.headerList}" var="item"&gt;
              &lt;rich:column colspan="2"&gt;
                  &lt;h:outputText value="#{item}" /&gt;
              &lt;/rich:column&gt;
          &lt;/c:forEach&gt;
  
          &lt;rich:column breakRowBefore="true"&gt;
              &lt;h:outputText value="New" /&gt;
          &lt;/rich:column&gt;
          &lt;rich:column&gt;
              &lt;h:outputText value="Tot" /&gt;
          &lt;/rich:column&gt;
  
          &lt;c:forEach begin="1" end="#{reportingModel.headerList.size()-1}"&gt;
              &lt;rich:column&gt;
                  &lt;h:outputText value="New" /&gt;
              &lt;/rich:column&gt;
              &lt;rich:column&gt;
                  &lt;h:outputText value="Tot" /&gt;
              &lt;/rich:column&gt;
          &lt;/c:forEach&gt;
  
      &lt;/rich:columnGroup&gt;
  &lt;/f:facet&gt;
  &lt;!-- End header of the data-table --&gt;
  
  &lt;!-- Start values of the data-table --&gt;
  
  &lt;rich:column&gt;
      &lt;h:outputText value="#{reportingDoiPoolRow.doiPool.name}"&gt;&lt;/h:outputText&gt;
  &lt;/rich:column&gt;
  
  &lt;ui:repeat value="#{reportingDoiPoolRow.amountOfDois}" var="amount"&gt;
      &lt;rich:column style="text-align:right;"&gt;
          &lt;h:outputText value="#{amount}"/&gt;
      &lt;/rich:column&gt;
  &lt;/ui:repeat&gt;
  
  &lt;!-- Start values of the data-table --&gt;
  
  &lt;f:facet name="footer"&gt;
      &lt;rich:columnGroup&gt;
          &lt;rich:column style="text-align:left;"&gt;Totals&lt;/rich:column&gt;
  
          &lt;rich:column style="text-align:right;"&gt;
              &lt;h:outputText value="12"&gt;&lt;/h:outputText&gt;
          &lt;/rich:column&gt;
          &lt;rich:column style="text-align:right;"&gt;
              &lt;h:outputText value="12"&gt;&lt;/h:outputText&gt;
          &lt;/rich:column&gt;
  
      &lt;/rich:columnGroup&gt;
  &lt;/f:facet&gt;
  </code></pre>
  
  <p></p>
  
  <p>The issue is in the following block:</p>
  
  <pre><code>&lt;rich:column&gt;
      &lt;h:outputText value="#{reportingDoiPoolRow.doiPool.name}"&gt;&lt;/h:outputText&gt;
  &lt;/rich:column&gt;
  
  &lt;ui:repeat value="#{reportingDoiPoolRow.amountOfDois}" var="amount"&gt;
      &lt;rich:column style="text-align:right;"&gt;
          &lt;h:outputText value="#{amount}"/&gt;
      &lt;/rich:column&gt;
  &lt;/ui:repeat&gt;
  </code></pre>
  
  <p>The name (<code>reportingDoiPoolRow.doiPool.name</code>) is rendered well but every column inside the <code>ui:repeat</code> is not rendered.
  It seems that I can't use the reportingDoiPoolRow variable for another iteration.
  The Collections which I use for the table are both from the type <code>ArrayList</code> (long).
  Thank you very much for your help.</p>