Hey.
I am trying to figure out the springmodules and commons validator.
The validator is not an instanceof PageAware and therefore the validator will never run. Have i forgot to set some configurations?HTML Code:<pre> protected void validatePage(Object object, Errors errors, int currentPage) { Validator[] validators = getValidators(); for (Validator validator : validators) { if (validator instanceof PageAware) { if (((PageAware) validator).getPage() == currentPage) { validator.validate(object, errors); } } } } </pre>


