public interface MultiFieldValidator
ValidateMultipleFields
Modifier and Type | Method and Description |
---|---|
boolean |
validateValues(javax.faces.context.FacesContext context,
java.util.List<javax.faces.component.UIInput> components,
java.util.List<java.lang.Object> values)
Perform the validation on the collected values of the input components and returns whether the validation is
successful.
|
boolean validateValues(javax.faces.context.FacesContext context, java.util.List<javax.faces.component.UIInput> components, java.util.List<java.lang.Object> values)
ValidatorException
! This job is up to the
ValidateMultipleFields
implementation who will call this method.context
- The faces context to work with.components
- The input components whose values are to be validated.values
- The values of the input components to be validated.true
if validation is successful, otherwise false
(and thus show the message).