I will try that out and wait for the full release. Thank you!
"Will Glass-Husain" <
wglass@fori...>
Sent by:
wglasshusain@gmai...
12/12/2006 04:11 PM
Please respond to
"Velocity Users List" <
user@velo...>
To
"Velocity Users List" <
user@velo...>
cc
Subject
Re: Comparing long and integer in vm
If you use the jar files it is very stable. If you compile from
source (not required) we're still tinkering with the build process.
We are close to a full release, though no date is set.
WILL
On 12/12/06,
erica_ren@pch.... <
erica_ren@pch....> wrote:
> Thank you Will! do you know if this beta release is reliable?
>
>
>
>
>
>
> "Will Glass-Husain" <
wglass@fori...>
> Sent by:
wglasshusain@gmai...
> 12/12/2006 04:03 PM
> Please respond to
> "Velocity Users List" <
user@velo...>
>
>
> To
> "Velocity Users List" <
user@velo...>
> cc
>
> Subject
> Re: Comparing long and integer in vm
>
>
>
>
>
>
> Use Velocity 1.5 beta. It supports all number types. Velocity 1.4
> just supports integers.
>
> WILL
>
> On 12/12/06,
erica_ren@pch.... <
erica_ren@pch....> wrote:
> > Hi,
> >
> > I have a value of the type Long in an object passed to vm template, is
> > there any way to compare it to an integer in the template,
> > eg.
> > #if ($myLong == 1)
> > do something
> > #end
> >
> > I tried the above but got "Error in evaluation of != expression. Both
> > arguments must be of the same Class" error. I'm trying not to change
> > anything in the original .java class so the only option is to compare
it
> > within the velocity template.
> >
> > Any help would be appreciated. Thank you!
> >
> > Erica
> >
> >
> >
> >
>
>
> --
> Forio Business Simulations
>
> Will Glass-Husain
>
wglass@fori...
> www.forio.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
user-unsubscribe@velo...
> For additional commands, e-mail:
user-help@velo...
>
>
>
--
Forio Business Simulations
Will Glass-Husain
wglass@fori...
www.forio.com
---------------------------------------------------------------------
To unsubscribe, e-mail:
user-unsubscribe@velo...
For additional commands, e-mail:
user-help@velo...
opensubscriber is not affiliated with the authors of this message nor responsible for its content.