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