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/11/20 15:20:02 UTC

DO NOT REPLY [Bug 24856] New: - Struts doesn´t accept internationalized form inputs for Number, Date, Timestamp etc

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=24856>.
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=24856

Struts doesn´t accept internationalized form inputs for Number, Date, Timestamp etc

           Summary: Struts doesn´t accept internationalized form inputs for
                    Number, Date, Timestamp etc
           Product: Struts
           Version: Unknown
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Utilities
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: flaviostutz@hotmail.com


RequestUtils uses 'BeanUtils' instead of 'LocaleBeanUtils'. 
This causes the input of a java.sql.Date field, for example, not to accept 
internationalized user input formats. The user can´t input a date in 
the 'MM/dd/yyyy' format, the framework parses only the 'yyyy-MM-dd' format.
This happens to all primary complex types that requires internationalization.
I altered the RequestUtils code and I am sending it over here.

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