Hi,
I send an email, cause i got a problem with Velocity. I have Velocity 1.4 and i use JDK 1.4 . When i use this template : #set( $a = "Velocity" ) $a $test $a.length() $test.length() #if (1 > 0 ) test simple : ok #end #if ($a.length() > 0 ) test complique : ok #end #if ($test.length() > 0 ) test complique2 : ok #end Where i give the value of "test" with a map and it's "toto". The result of generation is : Velocity toto 8 4 test simple : ok test complique : ok Then apparently i success to do $test.length() but i don't success #if ($test.length() > 0 ) and i got this error message : [ERROR][ VelocityResourceLoader][27/11][15:27:27] Left side ($test.length()) of '>' operation has null value. Operation not possible. Do you have any idea about this problem ? Thanks a lot Etienne _________________________________________________________________ Email envoyé avec Windows Live Hotmail. Dites adieux aux spam et virus, passez à Hotmail ! C'est gratuit ! http://www.windowslive.fr/hotmail/default.asp
