You should be able to iterate over the list just fine in freemarker. You might want to check their documentation if you are not sure about the syntax. If you are sure that the syntax is fine, please postthe snippet of the code causing the problem and full exception message and stacktrace to pastebin.com or similar service and post here the link to it. Jan
On Jun 30, 2010, at 4:16 PM, Rakesh Vidyadharan wrote: > How can I access standard directives (or commands or whatever they are called > such as list) on a “Page” in the admin interface. I have my sub-class of > TemplatedMVCHandler as the backing bean etc., but when I attempted to access > a Collection and iterate from the page, I got a Freemarker exception related > to xxx?size not available or something like that. I went back to generating > the output from the handler, so do not have the full stack trace handy (but I > can reproduce it if that helps). It would be much simpler and more elegant > to have FTL take care of the iteration than doing it in Java. > > Thanks > Rakesh > > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
