protected javax.faces.validator.Validator | createValidator()Returns a new instance of the validator registered under the name
"com.mycompany.jsf.validator.LATER_THAN", configured with the
"than" property value.
Application application =
FacesContext.getCurrentInstance().getApplication();
LaterThanValidator validator = (LaterThanValidator)
application.createValidator("com.mycompany.jsf.validator.LATER_THAN");
validator.setPeerId(peerId);
return validator;
|