I am currently upgrading our application from Webwork to Struts2. Today I run into strange error: displayTag stopped working after the upgrade.
This is a snipped from my FTL file:
<#assign display=JspTaglibs["http://displaytag.sf.net"]> <@s.set name="entries" value="historyEntries" scope="page"/> <@display.table class="data" name="pageScope.entries" sort="list" pagesize=30 id="entry" defaultsort=5 defaultorder="descending"> <@display.column property="folderName" title="Folder" sortable=true/> </@display.table>
The error I get is:
freemarker.template.TemplateModelException: javax.servlet.jsp.JspException: Exception: [.LookupUtil] Error looking up property "folderName" in object type "freemarker.template.SimpleSequence". Cause: Unknown property 'folderName'
Standard struts tags are working correctly, I have JspSupportServlet
added in my configuration. Any idead why this isn't working?