freemarker-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ingo Mahnke" <ingo.mah...@quvion.org>
Subject include with custom parameter
Date Sun, 02 Apr 2017 21:47:54 GMT
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
View raw message