Re: FreeMarker Processing Pipeline

Daniel Dekany <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
Wednesday, May 28, 2008, 9:15:11 PM, mraible wrote:

> Is the FreeMarker Processing Pipeline documented somewhere. It would be very
> useful to see a diagram.

No...

> The reason I'm asking is because I'd like to insert
> a pre-processing phase. I have a templating framework that allows replacing
> standard HTML tags, i.e.  ,  , etc. with macros, jsp tags or whatnot. I'd
> like to use it with FreeMarker to simplify page authoring for web
> developers.

For that you need to write a custom TemplateLoader (which usually just
encapsulates another TemplateLoader, but filters what that reads). The
TemplateLoader can be added to the Configuration with
setTemplateLoader, and that's all.

> Thanks,
>
> Matt

-- 
Best regards,
 Daniel Dekany


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
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.