You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by "Don Brown (JIRA)" <ji...@apache.org> on 2006/04/25 21:24:46 UTC

[jira] Closed: (STR-1574) [validator] numeric validations should use locales

     [ http://issues.apache.org/struts/browse/STR-1574?page=all ]
     
Don Brown closed STR-1574:
--------------------------

    Resolution: Fixed

> [validator] numeric validations should use locales
> --------------------------------------------------
>
>          Key: STR-1574
>          URL: http://issues.apache.org/struts/browse/STR-1574
>      Project: Struts Action 1
>         Type: Improvement

>   Components: Action
>     Versions: 1.2.7
>  Environment: Operating System: other
> Platform: Other
>     Reporter: Dirk Sturzebecher
>     Priority: Minor
>      Fix For: 1.3.0
>  Attachments: FieldChecks.patch, GenericTypeValidator.patch
>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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