ftl : if_exists is deprecated

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

ftl : if_exists is deprecated

Sumit Pandit-3
Hello Devs and Users,

I was reading freemarker manual. And i found the page that stated that the if_exist is being deprecated. The link to the page is as follows :
http://fmpp.sourceforge.net/freemarker/ref_depr_builtin.html

I have tested the "default value operator" "!" which deprecate if_exist and it works fine.

So what should our next step ?

Reply | Threaded
Open this post in threaded view
|

Re: if_exists is deprecated

Jacques Le Roux
Administrator
We already use the ! operator. I tried to replace all if_exists but I gave up
There is already a thread in dev http://www.nabble.com/Freemarker-deprecated-built-ins-td18074068.html
(only the five 1st posts or so are relevant)

Jacques

From: "Sumit Pandit" <[hidden email]>

> Hello Devs and Users,
>
> I was reading freemarker manual. And i found the page that stated that the if_exist is being deprecated. The link to the page is
> as follows :
> http://fmpp.sourceforge.net/freemarker/ref_depr_builtin.html
>
> I have tested the "default value operator" "!" which deprecate if_exist and it works fine.
>
> So what should our next step ?
>

Reply | Threaded
Open this post in threaded view
|

Re: if_exists is deprecated

Jacques Le Roux
Administrator
Actually the last thing I wrote was
"The current builtins work well and are easy to read. I finally decided to do nothing. We will see if ever it's needed. "
Anyway IIRW it's not a big work to do (just a replace, with some quirks)

Jacques

From: "Jacques Le Roux" <[hidden email]>

> We already use the ! operator. I tried to replace all if_exists but I gave up
> There is already a thread in dev http://www.nabble.com/Freemarker-deprecated-built-ins-td18074068.html
> (only the five 1st posts or so are relevant)
>
> Jacques
>
> From: "Sumit Pandit" <[hidden email]>
>> Hello Devs and Users,
>>
>> I was reading freemarker manual. And i found the page that stated that the if_exist is being deprecated. The link to the page is
>> as follows :
>> http://fmpp.sourceforge.net/freemarker/ref_depr_builtin.html
>>
>> I have tested the "default value operator" "!" which deprecate if_exist and it works fine.
>>
>> So what should our next step ?
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: if_exists is deprecated

Sumit Pandit-3
Yes I am agree with you Jacques. But for new implementation, we should use default value operator.

Thoughts ?


----- Original Message -----
From: "Jacques Le Roux" <[hidden email]>
To: [hidden email], [hidden email]
Sent: Wednesday, November 12, 2008 4:33:29 PM GMT +05:30 Chennai, Kolkata, Mumbai, New Delhi
Subject: Re: if_exists is deprecated

Actually the last thing I wrote was
"The current builtins work well and are easy to read. I finally decided to do nothing. We will see if ever it's needed. "
Anyway IIRW it's not a big work to do (just a replace, with some quirks)

Jacques

From: "Jacques Le Roux" <[hidden email]>

> We already use the ! operator. I tried to replace all if_exists but I gave up
> There is already a thread in dev http://www.nabble.com/Freemarker-deprecated-built-ins-td18074068.html
> (only the five 1st posts or so are relevant)
>
> Jacques
>
> From: "Sumit Pandit" <[hidden email]>
>> Hello Devs and Users,
>>
>> I was reading freemarker manual. And i found the page that stated that the if_exist is being deprecated. The link to the page is
>> as follows :
>> http://fmpp.sourceforge.net/freemarker/ref_depr_builtin.html
>>
>> I have tested the "default value operator" "!" which deprecate if_exist and it works fine.
>>
>> So what should our next step ?
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: if_exists is deprecated

Jacques Le Roux
Administrator
From: "Sumit Pandit" <[hidden email]>
> Yes I am agree with you Jacques. But for new implementation, we should use default value operator.

I totally agree
Jacques

> Thoughts ?
>
>
> From: "Jacques Le Roux" <[hidden email]>
> Actually the last thing I wrote was
> "The current builtins work well and are easy to read. I finally decided to do nothing. We will see if ever it's needed. "
> Anyway IIRW it's not a big work to do (just a replace, with some quirks)
>
> Jacques
>
> From: "Jacques Le Roux" <[hidden email]>
>> We already use the ! operator. I tried to replace all if_exists but I gave up
>> There is already a thread in dev http://www.nabble.com/Freemarker-deprecated-built-ins-td18074068.html
>> (only the five 1st posts or so are relevant)
>>
>> Jacques
>>
>> From: "Sumit Pandit" <[hidden email]>
>>> Hello Devs and Users,
>>>
>>> I was reading freemarker manual. And i found the page that stated that the if_exist is being deprecated. The link to the page is
>>> as follows :
>>> http://fmpp.sourceforge.net/freemarker/ref_depr_builtin.html
>>>
>>> I have tested the "default value operator" "!" which deprecate if_exist and it works fine.
>>>
>>> So what should our next step ?
>>>
>>
>