I have a text field that uses a PropertyModel, like this:
TextField<Integer> ageField = new TextField<Integer>("age",
new PropertyModel<Integer>(person, "age"));
When a non-integer value is submitted, the following error is displayed in the browser:
"The value of 'age' is not a valid Integer."
How can I modify this error message?