I will try that out and wait for the full release. Thank you!
"Will Glass-Husain" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 12/12/2006 04:11 PM Please respond to "Velocity Users List" <[email protected]> To "Velocity Users List" <[email protected]> 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, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Thank you Will! do you know if this beta release is reliable? > > > > > > > "Will Glass-Husain" <[EMAIL PROTECTED]> > Sent by: [EMAIL PROTECTED] > 12/12/2006 04:03 PM > Please respond to > "Velocity Users List" <[email protected]> > > > To > "Velocity Users List" <[email protected]> > 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, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 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 > [EMAIL PROTECTED] > www.forio.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- Forio Business Simulations Will Glass-Husain [EMAIL PROTECTED] www.forio.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
