You can use:
TextField<Long> yearOfExpiry = new TextField<Long>("yearExpired",
Long.class);

2011/2/23 nivs <shravann...@gmail.com>

>
> Thanks Martin,
>
> So I do have to build a CustomValidator that is established. I would have
> thought this was a basic one that would be off the shelf.No worries thank
> you for the time, will look at the NumberValidator.MinimumValidator
> implementation.
>
> Cheers
> Niv
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Validating-a-Number-using-a-Validator-tp3320671p3320691.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


-- 
BUQUET Fabrice

Reply via email to