You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/07/02 18:21:12 UTC

DO NOT REPLY [Bug 21282] New: - type double validator does not use correct locale (Struts V1.1)

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21282>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21282

type double validator does not use correct locale (Struts V1.1)

           Summary: type double validator does not use correct locale
                    (Struts V1.1)
           Product: Struts
           Version: Unknown
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Validator Framework
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: dirk.sturzebecher@ovsag.de


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

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