I don't know Freemarker but did you try setting the variable to request scope? It looks to me like the variable is assigned to page scope in this case.
Randy -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Igor Kaplansky Sent: Sunday, February 04, 2007 3:54 PM To: displaytag-user@lists.sourceforge.net Subject: [displaytag-user] FreeMarker, WebWork, local variables + DisplayTag Is there a way to use a local FreeMarker variable as the source for the DisplayTag table? For example, I would like to do the following (doesn't work): <#assign myList=someListFromTheModel /> <@display.table class="displaytag" name="myList" id="listElement" sort="list" pagesize=5> The following works but that's not what I need: <@display.table class="displaytag" name="someListFromTheModel" id="question" sort="list" pagesize=5> We are using FreeMarker-2.3.8, WebWork-2.2.4, DisplayTag-1.1. Any suggestions? Thanks, Igor ------------------------------------------------------------------------ - 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 ------------------------------------------------------------------------- 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