I am using displayTag to display a dynamic report where columns are stored in a metalist. I am using example from
http://displaytag.homeip.net/displaytag-examples-1.1/example-columnlist.jsp
And for most part the code work, however displayTag is not evaluating JSTL _expression_ correctly. For example, in the code it shows:
<display:table name="test">
<c:forEach var="cl" items="${collist}">
<display:column property="next" titleKey="${col.label}" escapeXml="true" sortable="true" decorator="com.amazon.biw2.webapp.taglib.ReportColumnWrapper" />
</c:forEach>
</display:table>
However, in the html report instead of using value of col.label it's actually spitting "${col.label}" as it is.
I have also verified that jstl loop outside display tag works and it evaluates them correctly, but inside displayTag it's not evaluating the jstl _expression_. Any ideas.
Thanks in advance.
Shahzad Bhatti
PS: I am initializing ${collist} same as the example code, i.e., it is an ArrayList where each element is Map and map contains 'label' and other properties.
------------------------------------------------------------------------- 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 displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user