FormInput.java in wicket-examples is still using NumberValidator and all its various forms. NumberValidator has been deprecated. Change FormInput to use new validator classes.
Also, include a number validator that needs to use setType(): i.e. using PropertyModel handles this for you but PropertyModel and CompoundPropertyModel, etc. are not used in all cases.