Using Freemarker 2.3.19

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

Using Freemarker 2.3.19

Foo Shyn Chung
Hi all,

I found out that for freemarker to support the .now syntax i need to
upgrade the freemarker library to 2.3.17 or above. I check the trunk
repository, and found that it was upgraded to 2.3.15 but then was
subsequently downgraded to 2.3.10 by Hans. Just wondering is it that
running freemarker from version 2.3.10 above in ofbiz will cause issue? I'm
thinking to update my version to 2.3.19...haha..

For info i'm current developing my app using ofbiz 11.04 release branch.

Thanx
FooShyn
Reply | Threaded
Open this post in threaded view
|

Re: Using Freemarker 2.3.19

hans_bakker
The new version is significantly slower, i contacted the creator of
freemarker, but he could not reproduce the problem.....

Regards,
Hans

On 03/08/2012 11:33 AM, Foo Shyn Chung wrote:

> Hi all,
>
> I found out that for freemarker to support the .now syntax i need to
> upgrade the freemarker library to 2.3.17 or above. I check the trunk
> repository, and found that it was upgraded to 2.3.15 but then was
> subsequently downgraded to 2.3.10 by Hans. Just wondering is it that
> running freemarker from version 2.3.10 above in ofbiz will cause issue? I'm
> thinking to update my version to 2.3.19...haha..
>
> For info i'm current developing my app using ofbiz 11.04 release branch.
>
> Thanx
> FooShyn
>

Reply | Threaded
Open this post in threaded view
|

Re: Using Freemarker 2.3.19

Foo Shyn Chung
I see.. then i think i have to find a workaround on this...we can pass
current date from Screens.xml into the freemarker right?

Thanx for the reply Hans.

FooShyn

On Thu, Mar 8, 2012 at 2:02 PM, Hans Bakker
<[hidden email]>wrote:

> The new version is significantly slower, i contacted the creator of
> freemarker, but he could not reproduce the problem.....
>
> Regards,
> Hans
>
>
> On 03/08/2012 11:33 AM, Foo Shyn Chung wrote:
>
>> Hi all,
>>
>> I found out that for freemarker to support the .now syntax i need to
>> upgrade the freemarker library to 2.3.17 or above. I check the trunk
>> repository, and found that it was upgraded to 2.3.15 but then was
>> subsequently downgraded to 2.3.10 by Hans. Just wondering is it that
>> running freemarker from version 2.3.10 above in ofbiz will cause issue?
>> I'm
>> thinking to update my version to 2.3.19...haha..
>>
>> For info i'm current developing my app using ofbiz 11.04 release branch.
>>
>> Thanx
>> FooShyn
>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: Using Freemarker 2.3.19

hans_bakker
as usual look at existing code, search for nowdate in ftl.....

Regards,
Hans

On 03/08/2012 01:25 PM, Foo Shyn Chung wrote:

> I see.. then i think i have to find a workaround on this...we can pass
> current date from Screens.xml into the freemarker right?
>
> Thanx for the reply Hans.
>
> FooShyn
>
> On Thu, Mar 8, 2012 at 2:02 PM, Hans Bakker
> <[hidden email] <mailto:[hidden email]>>
> wrote:
>
>     The new version is significantly slower, i contacted the creator
>     of freemarker, but he could not reproduce the problem.....
>
>     Regards,
>     Hans
>
>
>     On 03/08/2012 11:33 AM, Foo Shyn Chung wrote:
>
>         Hi all,
>
>         I found out that for freemarker to support the .now syntax i
>         need to
>         upgrade the freemarker library to 2.3.17 or above. I check the
>         trunk
>         repository, and found that it was upgraded to 2.3.15 but then was
>         subsequently downgraded to 2.3.10 by Hans. Just wondering is
>         it that
>         running freemarker from version 2.3.10 above in ofbiz will
>         cause issue? I'm
>         thinking to update my version to 2.3.19...haha..
>
>         For info i'm current developing my app using ofbiz 11.04
>         release branch.
>
>         Thanx
>         FooShyn
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Using Freemarker 2.3.19

Adrian Crum-3
In reply to this post by Foo Shyn Chung
Use nowTimestamp.

-Adrian

On 3/8/2012 6:25 AM, Foo Shyn Chung wrote:

> I see.. then i think i have to find a workaround on this...we can pass
> current date from Screens.xml into the freemarker right?
>
> Thanx for the reply Hans.
>
> FooShyn
>
> On Thu, Mar 8, 2012 at 2:02 PM, Hans Bakker
> <[hidden email]>wrote:
>
>> The new version is significantly slower, i contacted the creator of
>> freemarker, but he could not reproduce the problem.....
>>
>> Regards,
>> Hans
>>
>>
>> On 03/08/2012 11:33 AM, Foo Shyn Chung wrote:
>>
>>> Hi all,
>>>
>>> I found out that for freemarker to support the .now syntax i need to
>>> upgrade the freemarker library to 2.3.17 or above. I check the trunk
>>> repository, and found that it was upgraded to 2.3.15 but then was
>>> subsequently downgraded to 2.3.10 by Hans. Just wondering is it that
>>> running freemarker from version 2.3.10 above in ofbiz will cause issue?
>>> I'm
>>> thinking to update my version to 2.3.19...haha..
>>>
>>> For info i'm current developing my app using ofbiz 11.04 release branch.
>>>
>>> Thanx
>>> FooShyn
>>>
>>>
Reply | Threaded
Open this post in threaded view
|

Re: Using Freemarker 2.3.19

Foo Shyn Chung
Ya found out about nowTimestamp after a search. Thanx both.

FooShyn

On Thu, Mar 8, 2012 at 2:30 PM, Adrian Crum <
[hidden email]> wrote:

> Use nowTimestamp.
>
> -Adrian
>
>
> On 3/8/2012 6:25 AM, Foo Shyn Chung wrote:
>
>> I see.. then i think i have to find a workaround on this...we can pass
>> current date from Screens.xml into the freemarker right?
>>
>> Thanx for the reply Hans.
>>
>> FooShyn
>>
>> On Thu, Mar 8, 2012 at 2:02 PM, Hans Bakker
>> <[hidden email]**>wrote:
>>
>>  The new version is significantly slower, i contacted the creator of
>>> freemarker, but he could not reproduce the problem.....
>>>
>>> Regards,
>>> Hans
>>>
>>>
>>> On 03/08/2012 11:33 AM, Foo Shyn Chung wrote:
>>>
>>>  Hi all,
>>>>
>>>> I found out that for freemarker to support the .now syntax i need to
>>>> upgrade the freemarker library to 2.3.17 or above. I check the trunk
>>>> repository, and found that it was upgraded to 2.3.15 but then was
>>>> subsequently downgraded to 2.3.10 by Hans. Just wondering is it that
>>>> running freemarker from version 2.3.10 above in ofbiz will cause issue?
>>>> I'm
>>>> thinking to update my version to 2.3.19...haha..
>>>>
>>>> For info i'm current developing my app using ofbiz 11.04 release branch.
>>>>
>>>> Thanx
>>>> FooShyn
>>>>
>>>>
>>>>