Re: Aw: Re: Re: include with custom parameter

2017-04-03 Thread Daniel Dekany
You are on the right list. (There's no separate user list currently,
due to the low traffic.)


Monday, April 3, 2017, 10:12:53 AM, Ingo Mahnke wrote:

> Hallo Taher,
> why I should subscribe to the OfBiz userlist?
>
>
> On "lists.apache.org" I found only the "d...@freemarker.apache.org" list.
>
> Ingo
>
>
>
>> Gesendet: Montag, 03. April 2017 um 10:04 Uhr
>> Von: "Taher Alkhateeb" <slidingfilame...@gmail.com>
>> An: dev@freemarker.incubator.apache.org
>> Betreff: Re: Aw: Re: include with custom parameter
>>
>> Oh I meant the OFBiz user mailing list. Anyway FreeMarker is an Apache
>> project now so the mailing list changed. You need to follow the new one
>> provided in lists.apache.org
>> 
>> On Apr 3, 2017 10:34 AM, "Ingo Mahnke" <ingo.mah...@quvion.org> wrote:
>> 
>> > Hi Thaer,
>> > good idea.
>> >
>> > I tried to subscribe on "http://freemarker.org/mailing-lists.html; and
>> > clickd on "freemarker-u...@lists.sourceforge.net" -> 404
>> >
>> > Any other method to subscribe?
>> >
>> > Ingo
>> >
>> >
>> >
>> >
>> >
>> > > Gesendet: Montag, 03. April 2017 um 09:20 Uhr
>> > > Von: "Taher Alkhateeb" <slidingfilame...@gmail.com>
>> > > An: dev@freemarker.incubator.apache.org
>> > > Betreff: Re: include with custom parameter
>> > >
>> > > 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.mah...@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>
>> > > > ..
>> > > > ..
>> > > > 
>> > > >
>> > > >
>> > > > Thank you very much!!!
>> > > >
>> > > > Ingo
>> > > >
>> > > >
>> > >
>> >
>> 
>

-- 
Thanks,
 Daniel Dekany



Re: Re: Re: include with custom parameter

2017-04-03 Thread Taher Alkhateeb
Okay so just to clarify things, we have 3 mailing lists under discussion:
- Apache OFBiz developer mailing list strictly for topics related to the
design and development of the OFBiz Project itself
- Apache OFBiz user mailing list for installation, deployment, custom
development and usage related topics
- Apache FreeMarker mailing list: They only have one list which you
mentioned.

So my recommendation to you was to redirect your question from dev@ofbiz to
user@ofbiz because your question is more relevant over there. I think you
misunderstood my suggestion and thought I meant the FreeMarker ML.

So there are two possible places to ask your question, the user mailing
list for OFBiz, or directly in the FreeMarker mailing list. I think it
makes more sense to ask in the user list of OFBiz because you need
FreeMarker in the context of OFBiz but it's up to you.

So there you, I hope this explains things!

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

> Hallo Taher,
> why I should subscribe to the OfBiz userlist?
>
>
> On "lists.apache.org" I found only the "d...@freemarker.apache.org" list.
>
> Ingo
>
>
>
> > Gesendet: Montag, 03. April 2017 um 10:04 Uhr
> > Von: "Taher Alkhateeb" <slidingfilame...@gmail.com>
> > An: dev@freemarker.incubator.apache.org
> > Betreff: Re: Aw: Re: include with custom parameter
> >
> > Oh I meant the OFBiz user mailing list. Anyway FreeMarker is an Apache
> > project now so the mailing list changed. You need to follow the new one
> > provided in lists.apache.org
> >
> > On Apr 3, 2017 10:34 AM, "Ingo Mahnke" <ingo.mah...@quvion.org> wrote:
> >
> > > Hi Thaer,
> > > good idea.
> > >
> > > I tried to subscribe on "http://freemarker.org/mailing-lists.html; and
> > > clickd on "freemarker-u...@lists.sourceforge.net" -> 404
> > >
> > > Any other method to subscribe?
> > >
> > > Ingo
> > >
> > >
> > >
> > >
> > >
> > > > Gesendet: Montag, 03. April 2017 um 09:20 Uhr
> > > > Von: "Taher Alkhateeb" <slidingfilame...@gmail.com>
> > > > An: dev@freemarker.incubator.apache.org
> > > > Betreff: Re: include with custom parameter
> > > >
> > > > 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.mah...@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>
> > > > > ..
> > > > > ..
> > > > > 
> > > > >
> > > > >
> > > > > Thank you very much!!!
> > > > >
> > > > > Ingo
> > > > >
> > > > >
> > > >
> > >
> >
>