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.
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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">
<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.