I've found a workaround to this problem, using as "min" and "max" date
values not a java.util.Date instance but a MyDate class that overrides the
toString() with my custom date format.
- Paolo
On 8/3/07, Mael Sicsic <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have 2 problems with DateValidator' error messages.
> I understand how to configure the text message for validation error (eg :
> "xxx must be between {min} and {max}"), but my problems are with the value
> of dates "minimum" and "maximum", that are allways displayed in the EN
> locale style and are too verbose.
> For example it displays "must be between Sun Dec 31 18:59:48 CET 1979 and
> ...", and I would like to display "must be between 31/12/1979 and ..."
>
> Is it possible to change the format of values in the IValidators messages
> ?
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>