Sheetal - 2006-08-29

Guys, I am breaking my head for the last couple of days. JSTL forEach does not work with displayTable. Can you please take a look at this and tell me if you see any obvious errors. Appreciate your help and time.

<display:table name="sessionScope.reportBean.corpReportResults" defaultorder="ascending" requestURI="/jsp/project/report/ProjectRunReport.faces" uid="parent" class="searchtable" pagesize="100">

    &lt;display:column property=&quot;year&quot; title=&quot;Year&quot; headerClass=&quot;sortable&quot; sortable=&quot;true&quot; /&gt;
      &lt;display:column property=&quot;agentName&quot; title=&quot;Issuer Name&quot; headerClass=&quot;sortable&quot; sortable=&quot;true&quot; /&gt;

      &lt;display:column property=&quot;agentISOCode&quot; title=&quot;Country ISO Code&quot; headerClass=&quot;sortable&quot; sortable=&quot;true&quot; /&gt;

       &lt;display:column property=&quot;LTRatings&quot; title=&quot;LT IDR&quot; headerClass=&quot;sortable&quot; sortable=&quot;true&quot; /&gt;

<c:forEach var='cl' items='${sessionScope.reportBean.corpReportResults.dataItems}'>
<display:column property='${cl.dataItemValue}' title='column' sortable='true' />
</c:forEach>

</display:table>

Please look at the c:forEach, what I want to accomplish is to iterate through "dataItems" for each and every row of "corpReportResult" in the reportBean. I am not able to get this to work.

Thanks
Sheetal.