velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ruben Fragoso" <ruben.frag...@tap.pt>
Subject Comparing Locale values
Date Wed, 24 May 2006 10:25:59 GMT
Hi, i have this velocity code, and it is always going for the Else Statement
no matter what locale i choose(yes everything else that depends on the
locale works) , what am i doing wrong ? Thank you in advance.

 Here is the code

	#if ($preferedLocale=="en_US")
          today
      #else
          hello
      #end


Best Regards

Ruben


---------------------------------------------------------------------
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