velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Majji, Sashibhushan" <SMa...@carreker.com>
Subject ADD Function in Velocity
Date Wed, 13 Apr 2005 19:50:49 GMT

 Hi All, 

  I am trying to use add functionality with external data 

  #set ( $value = $templet.getLongValue()  ) 
  
  suppose now $value has value of 1 

  #set ( $value = $value + 1  ) 

 Still the total shows 1. Actually its not adding  value . Here
$templet.getLongValue()   returns a long Value 

Thanks 
Sashi 


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message