velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Siefert <siefert.da...@gmail.com>
Subject Re: equality of Long object in template (velocity-1.3)
Date Thu, 26 Aug 2010 19:58:48 GMT
On Thu, Aug 26, 2010 at 2:52 PM, David Siefert <siefert.david@gmail.com>wrote:

> On Thu, Aug 26, 2010 at 2:49 PM, Michael <sgfan@gmx.net> wrote:
>
>> David Siefert schrieb:
>>
>>  Hi All-
>>>
>>> I'm using velocity 1.3 and am generating some text from a template that
>>> has
>>> the following code:
>>>
>>
>> 1.3? This version is really old...
>> Did you try at least 1.6.x?
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
>> For additional commands, e-mail: user-help@velocity.apache.org
>>
>>
> I could give it a shot--in the meantime, what kind of risk would that
> present to my group in upgrading from 1.3 to 1.6?  I've only written a few
> automated tests checking some templates, so the others remain 'unknown'
> whether or not they will generate correctly or contain errors after the
> upgrade.
>
> -David
>

With 1.6.4, both methods work (==1, =='1') which is awesome!
Thanks for the help!
-David

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message