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