RE: FTL Includes

"Andy Zeneski" <[email protected]> Thu, 27 Feb 2003 16:08:51 -0500
Newsgroups gmane.comp.java.jpublish.devel
Message-ID <[email protected]>
<#include "repository:fs_repository:/includes/countries.ftl">
${fs_repository.get("/includes/countries.ftl")}

These should return the same thing, I believe. But they do not. The first
returns empty, the second returns a list of countries.

Will this have anything to do with my custom 'root' in Freemarker?

-Andy

> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]On Behalf Of
> Anthony Eden
> Sent: Thursday, February 27, 2003 3:55 PM
> To: [email protected]
> Subject: Re: [JPublish-developer] FTL Includes
>
>
> Try:
>
> <#include repository:fs_repository:/order/orderheader.ftl">
>
> I have not yet put in the default lookup mechanism which is why
> the first version didn't work.
>
> -Anthony
>
> Andy Zeneski wrote:
> > Anthony,
> >
> > How do we use FTL includes now? I tried this:
> > <#include "/order/orderheader.ftl">
> > and this:
> > <#include "fs_repository:/order/orderheader.ftl">
> >
> > But no luck with either.
> >
> > -Andy
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Jpublish-developer mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/jpublish-developer
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Jpublish-developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jpublish-developer
>




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf