you can write your own converter that distinguishes the two situations
and throws a ConversionException with an appropriate resource key.
-igor
On Mon, Jun 27, 2011 at 10:48 AM, Anna Simbirtsev wrote:
> Hi,
>
> I have a date text field and I want to give 2 different error messages for
> differen
Hi,
I have a date text field and I want to give 2 different error messages for
different errors:
1) invalid date
2) invalid date format
DateTextField myField = new DateTextField("myField",
"-MM-dd") {
private static final long serialVersionUID = 1L;