struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: [S1] Validator does not respect locale when validating double value?
Date Fri, 18 Jan 2013 21:00:41 GMT
2013/1/18 Christopher Schultz <chris@christopherschultz.net>:
> The method validateDouble() totally ignores the user's Locale and
> calls commons-validator's formatDouble(String) method instead of the
> formatDouble(String,Locale) method.
>
> The same seems to be true for all the validate[NumberType] methods and
> validate[NumberType]Range methods.
>
> This seems to be an i18n bug to me. Am I missing something?

Looks like...


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

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


Mime
View raw message