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<Long> yearOfExpiry = new TextField<Long>("yearExpired"); I guess the validator should check if it is of the right type(data type) ..i.e Numeric.. Or should I build a CustomValidator? If I have to would there be an example of how this can be built? Look at the Wicket Code base? Thanks guys Niv