Hi all
I have a form where user must enter a number - integer or double. Corresponding property of this field in actionForm is type of String.

I want user to be able to enter this number as normal number OR as localized number according to current Locale object (like 45,000,000.01 or 45000000.01). I could use a NumberFormat class in validate method to try to parse this field.

Is this a normal practice at all to allow users to do this?

And why Validator framework has a date validation with pattern and has not number validation with pattern?

--
*************************************
Best Regards
Ilja


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

Reply via email to