opsb
Mar 16th, 2006, 05:11 AM
I'm using a the CustomDateEditor to bind to a Date field. If a user provides an incorrect format I'd like to redisplay the original value along with a custom message.
The CustomDateEditor throws an IllegalArgumentException which causes the error message 'Value is incorrect!'.
I can't use a validator to provide a custom message as the exception gets thrown before the validator is called. How do I do it?
The CustomDateEditor throws an IllegalArgumentException which causes the error message 'Value is incorrect!'.
I can't use a validator to provide a custom message as the exception gets thrown before the validator is called. How do I do it?