DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=29919>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=29919 validator is not ideal Summary: validator is not ideal Product: Struts Version: 1.1 Final Platform: Other OS/Version: Windows XP Status: NEW Severity: Normal Priority: Other Component: Validator Framework AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] if i have a form,which one field is number type(int,double,or float),and i need to validate the client input by validator framework for this field,so when i input no number string,such as "adbcde", the following is : 1.first populate the input data to the form bean,because the input data is not the number type,it cann't be transformed,so the field value of form bean is its default value. 2.then the validator to validate the field value of form bean,but the value is not really value input by the client,so if i want to validate the number type data,the field type in form bean must be string type. but i think that is not a good idea,it is better that the client input data will be populate to form bean,after the validation is passed --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
