Re: How does one analyse a FreeMarker template??

Jeremy Chone <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
I really hope there will be a 2.4-final, it really really looks great.

On Wed, Nov 11, 2009 at 8:15 AM, Daniel Dekany <[email protected]> wrote:

> Wednesday, November 11, 2009, 12:14:25 AM, Tom Fennelly wrote:
>
> > Hi.
> >
> > 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
> > IteratorBlock, DollarVariable etc) I see that the info I'd like access
> > to on these objects is private, with no getter methods etc.
> >
> > Is there another way I can go about this?
>
> There isn't... except, of course, that you copy the relevant parts of
> the project, creating your own parser for this purpose. The license
> allows that. (FM 2.4 will have much better API for this kind of thing,
> as you can see in 2.4preview-1 release, but it's a question if there
> will be a 2.4-final ever...)
>
> > Regards,
> >
> > Tom.
>
> --
> Best regards,
>  Daniel Dekany
>
>
>
> ------------------------------------------------------------------------------
> 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
> _______________________________________________
> FreeMarker-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freemarker-user
>



-- 
Jeremy Chone
+1 415 699 9912
CTO, VP Product Development and Operations,
www.iJuris.com

------------------------------------------------------------------------------
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

_______________________________________________
FreeMarker-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freemarker-user
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.