Title: Name attribute, not working for me...

Hi All,

Im using the latest version of the display tag on Tomcat5. The following code always results in no data being displayed by the tag:

<%
List theData = (...call to method that returns a List);
%>

<body>
    <display:table name="theData" export="true" pagesize="10">
        <display:column property="col1" title="Column 1" sortable="true"/>
        <display:column property="col2" title="Column 2" sortable="true" />
    </display:table>
</body>

I suspect that I am using the "name" incorrectly to reference the local JSP variable "theData". If I put the Map into session and then use "sessionScope.theData" for the name, everything displays as you would expect.

However, I don't want to have to put the List into session as I then have no way of cleaning it out after the page has been rendered!

Any help appreciated,
Thanks.
Mark




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to