Hi Seth,

Assuming you have the freemarker servlet installed you can use freemarker 
templates to render your pages.  You can even install it as part of your 
module servlet configuration.  Just as templates with .jsp on the end are 
handled by the jsp servlet, templates with .ftl are handled by the freemarker 
servlet.

So much for the theory.

The problem is a lack of a freemarker model that exposes Magnolia Content to 
these templates.  Fortunately, it seems this will show up along with 
paragraph renderers.  Stay tuned.

Cheers,
Chris


Am Freitag, 13. April 2007 16:10 schrieb Seth Gottlieb:
> Apologies if this is a repeat.  I have been having trouble with my email
> server and this message appears to have been lost.
>
>
> Hello,
>
> I was looking over the libraries included in Magnolia (latest release
> 3.0.2) and I noticed Velocity and Freemarker.  However, I do not see
> anywhere in the documentation how one would create a template using these
> templating languages.  Is this just part of SiteDesigner?  Or can you
> create a Velocity or FreeMarker template?  Is it just a matter of pointing
> the path attribute of the template definition to a file with a specific
> extension?  If so, what objects are available in the context?
>
> Thanks,
>
> Seth

-- 
Chris Miner * Developer * luxoom gmbh * 
Chausseestraße 8 E * 10115 Berlin * Germany * 
Fon  +49 30 2 85 27 90 * Fax +49 30 2 85 27 939 * [EMAIL PROTECTED] *
www.luxoom.com
 
Geschäftsführer: Trolly Trojahn; Ulrich Sauerwein
Sitz der Gesellschaft: AG Berlin-Charlottenburg HRB 82969 B
USt.-Nr.: DE 217893254

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------

Reply via email to