freemarker-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Taher Alkhateeb <slidingfilame...@gmail.com>
Subject Re: include with custom parameter
Date Mon, 03 Apr 2017 07:20:00 GMT
Hi Ingo,

I think this question fits more in the user mailing list.

Regards,

On Mon, Apr 3, 2017 at 12:47 AM, Ingo Mahnke <ingo.mahnke@quvion.org> wrote:

> Hallo,
> maybe someone can help me.
> Is it possibile to use custom parameter with the include directive?
>
>
> Template 1
> ....
> ....
> <#include "template2.ftl" param=v1>
> ...
> ..
>
>
> template2.ftl
> ....
> ...
> <#if (param=="v1")>
> ..
> ..
> <#else>
> ..
> ..
> </#if>
>
>
> Thank you very much!!!
>
> Ingo
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message