> 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
:
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
See org.apache.wicket.validation.validator.NumberValidator.MinimumValidator
for example.
In your custom validator's onValidate() you need to check
that validatable.getValue() is an instance of Number.
On Wed, Feb 23, 2011 at 10:34 AM, Nivedan Nadaraj wrote:
> Hi All,
>
> Basic question but have n
Hi All,
Basic question but have not got an answer to it. I want to validate a field
to accept only numbers and provide a validation message.
Is there a NumericValidator I checked NumberValidator but don't see how I
can use it..it says its deprecated.
TextField yearOfExpiry = new TextField("yearEx