You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Markus <vi...@googlemail.com> on 2008/08/29 11:25:22 UTC

Quick DateValidator-issue

Hi all,

 

is there any possibility to add some custom mappings to the
DateValidator.RangeValidator?

 

Because "between Thu Feb 01 00:00:00 CET 1900 and (...)" really is not very
user-friendly formated information, in most cases.

 

Can I add something like ${year} or ${dateOnly} on the fly without extending
the whole class?

 

Rergards 

Markus


Re: Quick DateValidator-issue

Posted by Igor Vaynberg <ig...@gmail.com>.
right now you cannot, but you can implement your own rangevalidator
and add whatever values you want...

-igor

On Fri, Aug 29, 2008 at 2:25 AM, Markus <vi...@googlemail.com> wrote:
> Hi all,
>
>
>
> is there any possibility to add some custom mappings to the
> DateValidator.RangeValidator?
>
>
>
> Because "between Thu Feb 01 00:00:00 CET 1900 and (...)" really is not very
> user-friendly formated information, in most cases.
>
>
>
> Can I add something like ${year} or ${dateOnly} on the fly without extending
> the whole class?
>
>
>
> Rergards
>
> Markus
>
>

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