Oops .. terribly sorry, I actually thought I was on the OFBiz mailing list
:) My bad

On Mon, Apr 3, 2017 at 11:46 AM, Taher Alkhateeb <slidingfilame...@gmail.com
> wrote:

> Oops, crossed on wire. Thank you for pitching in, I guess the thread is
> answered now :)
>
> On Mon, Apr 3, 2017 at 11:43 AM, Daniel Dekany <ddek...@apache.org> wrote:
>
>> Hello,
>>
>> There's no such feature. If a reusable template fragment has
>> parameters (or has nested content), then you meant to use macros (or
>> functions).
>>
>>
>> Sunday, April 2, 2017, 11:47:54 PM, Ingo Mahnke 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
>> >
>> >
>>
>> --
>> Thanks,
>>  Daniel Dekany
>>
>>
>

Reply via email to