@Override
protected Validator createValidator() throws JspException
{
String validatorId = LengthValidator.VALIDATOR_ID;
Application appl = FacesContext.getCurrentInstance().getApplication();
LengthValidator validator = (LengthValidator)appl.createValidator(validatorId);
_setProperties(validator);
return validator;
}