velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ruben Fragoso" <ruben.frag...@tap.pt>
Subject RE: Comparing Locale values
Date Wed, 24 May 2006 11:34:51 GMT


RESOLVED

-----Original Message-----
From: Ruben Fragoso [mailto:ruben.fragoso@tap.pt] 
Sent: quarta-feira, 24 de Maio de 2006 11:26
To: velocity-user@jakarta.apache.org
Subject: Comparing Locale values


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


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