Re: FreeMarker Question

2007-12-03 Thread MassimoH
Thanks for the replies, everyone, but I found a solution. If anyone else is facing the same issue and finds this thread, here is how I resolved: public class CustomFreemarkerManager extends FreemarkerManager { @Override protected ScopesHashModel buildScopesHashModel(ServletContext

Re: FreeMarker Question

2007-11-28 Thread Martin Gainty
o: "Struts Users Mailing List" Sent: Wednesday, November 28, 2007 4:06 PM Subject: Re: FreeMarker Question > MassimoH wrote: > > How do I do something like this: > > > > public class CustomFreemarkerManager extends FreemarkerManager { > > @Override > > p

Re: FreeMarker Question

2007-11-28 Thread Gary Affonso
MassimoH wrote: How do I do something like this: public class CustomFreemarkerManager extends FreemarkerManager { @Override protected BeansWrapper getObjectWrapper() { BeansWrapper beansWrapperInstance = super.getObjectWrapper(); // !!! This won't

Re: FreeMarker Question

2007-11-28 Thread Frank W. Zammetti
I can't say with 100% certainty because the context of this isn't totally clear, but I'm relatively sure root is the root of the Freemarker data model, which means it's nothing but a plain old Java Map. Without seeing the rest of that class I couldn't tell you how to get a handle to root, but some