Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3889528
By: coldjava
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">
<display:column property="year" title="Year"
headerClass="sortable" sortable="true"
/>
<display:column property="agentName" title="Issuer Name"
headerClass="sortable"
sortable="true" />
<display:column property="agentISOCode" title="Country ISO
Code"
headerClass="sortable" sortable="true" />
<display:column property="LTRatings" title="LT IDR"
headerClass="sortable"
sortable="true" />
<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.
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=249317
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user