Details
Description
the type double validator does not seam to use the correct locale in struts V1.1
i have a form with a double and a date. editing the form using an en_US locale
works fine (e.g., double=1.1 date=01/01/01). editing the form using locale de
fails (e.g., double=1,1 date=01.01.01) for the double (not correct type) but
works ok for the date. entering the english double with a german locale passes
validation, but results in real trouble, as in german the "." is used like
1.000,- thus making my entered 1.1 into a 11
not nice
Attachments
Attachments
Issue Links
- is duplicated by
-
STR-2902 validator should use locale when validating float/double
- Closed