You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Jacques Le Roux <ja...@les7arts.com> on 2008/06/23 19:26:56 UTC

Freemarker deprecated built-ins

Hi All,

Why do you think about updating all our templates following  http://freemarker.sourceforge.net/docs/ref_depr_builtin.html ?
At least the second and the third could be done automatically.

Jacques

Re: Freemarker deprecated built-ins

Posted by Jacques Le Roux <ja...@les7arts.com>.
The current builtins work well and are easy to read. I finally decided to do nothing. We will see if ever it's needed.

Jacques

From: "Jacques Le Roux" <ja...@les7arts.com>
Hi All,

Why do you think about updating all our templates following  http://freemarker.sourceforge.net/docs/ref_depr_builtin.html ?
At least the second and the third could be done automatically.

Jacques

Re: Freemarker deprecated built-ins

Posted by Jacques Le Roux <ja...@les7arts.com>.
I did it locally, but I wonder now if it's a good idea since ?exists and ?if_exists are more readable than ?? and !
?exists and ?if_exists still work and and only ! is bringing some more features (mostly dealing with false also). If we don'"t do it 
now, maybe in a future we will have to do it. It's a 10 min work anyway...

I think that as soon as you are used to them (I mean ?? and !) it's not a big deal, but  please express yourself

Thanks

Jacques

From: "Vikas Mayur" <vi...@gmail.com>
> +1
>
> Vikas
>
> On Mon, Jun 23, 2008 at 10:56 PM, Jacques Le Roux <
> jacques.le.roux@les7arts.com> wrote:
>
>> Hi All,
>>
>> Why do you think about updating all our templates following
>> http://freemarker.sourceforge.net/docs/ref_depr_builtin.html ?
>> At least the second and the third could be done automatically.
>>
>> Jacques
> 


Re: Freemarker deprecated built-ins

Posted by Vikas Mayur <vi...@gmail.com>.
+1

Vikas

On Mon, Jun 23, 2008 at 10:56 PM, Jacques Le Roux <
jacques.le.roux@les7arts.com> wrote:

> Hi All,
>
> Why do you think about updating all our templates following
> http://freemarker.sourceforge.net/docs/ref_depr_builtin.html ?
> At least the second and the third could be done automatically.
>
> Jacques