You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Jeffrey Schneller <je...@envisa.com> on 2009/10/23 16:09:07 UTC

Date Validation - message formatting

I looked around and saw various discussions on how to format the date
for the error message in the DateValidator.  Was there a fix for this?

 

I am using DateValidator.minimum and I would like the date that is the
minimum to be formatted with just MMM-dd-yyyy or dd-MMM-yyyy based on
the locale.  Is there a way to do this with the DateValidator.minimum as
it is today [1.4.1]

 

Thanks.

 


Re: Date Validation - message formatting

Posted by Igor Vaynberg <ig...@gmail.com>.
no, there isnt. not that i can see anyways. you will have to roll your
own validator and convert the date into a string however you see fit.
also, please add an rfe to have this fixed.

-igor

On Fri, Oct 23, 2009 at 7:09 AM, Jeffrey Schneller
<je...@envisa.com> wrote:
> I looked around and saw various discussions on how to format the date
> for the error message in the DateValidator.  Was there a fix for this?
>
>
>
> I am using DateValidator.minimum and I would like the date that is the
> minimum to be formatted with just MMM-dd-yyyy or dd-MMM-yyyy based on
> the locale.  Is there a way to do this with the DateValidator.minimum as
> it is today [1.4.1]
>
>
>
> Thanks.
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org