Why Validator doesn't support i18n for testing numbers (float,double)
whereas it does it for date types?
I'm wondering whether i have to
1 /subclass org.apache.struts.validator.FieldChecks and overwrite method
validateFloat and validateDouble
or
2/ add to GenericTypeValidator (package commons validator) the methods
formatDouble and formatFloat with a decimal pattern (maybe Locale) to
support i18n. In this case, anyway I have to rewrite something in
FieldChecks to support the pattern argument for the methods validateFloat
...
or
3/ is it planned in the next release of commons validator / Struts?
Moreover, as i have to make a preview of my project, i have to find quickly
a workaround to this problem. Thank you for your help.
Sorry if this question has been already asked.
Richard.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to