Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
The struts validator should allow validation for float and double values where commas are used for decimal separator. E.g. 2.0 vs 2,0.
(commons-validator itself supports it (http://issues.apache.org/bugzilla/show_bug.cgi?id=34198), so it should be a matter of
- defining/taking the locale from somewhere
- using the preferred locale in FieldsChecks.java (and maybe a few other places)
Probably a pref to not use this behaviour could be needed as well.
Attachments
Issue Links
- duplicates
-
STR-1574 [validator] numeric validations should use locales
- Closed