Re: How does one analyse a FreeMarker template??

Guo Du <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
On Tue, Nov 10, 2009 at 11:14 PM, Tom Fennelly <[email protected]> wrote:
> I would like to be able to analyse a FreeMarker template. I thought I
> had the answer when I saw I could access the root TemplateElement
> through the Template instance, but alas, when I look closer (at

FreeMarker is very dynamic, it's not easy to tell the output in
runtime unless it's been rendered.

Alternative, you could do static analysis the  template by track the
template source used by provider your own template loader:
freemarker.template.Configuration.setTemplateLoader

Good luck!

-Guo

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.