A validator that
delegates the validation of the local value to the Bean
Validation API. The validationGroups attribute serves as a
filter that instructs the Bean Validation API which
contraints to enforce. If there are any constraint
violations reported by Bean Validation, the value is
considered invalid. An
instance of this validator can participate in class-level
validation provided the preconditions mentioned in
<f:validateWholeBean />
are met. Please
see the documentation for <f:validateWholeBean
/>
and
jakarta.faces.validator.BeanValidator.validate()
for
the specification and usage example.
Info | Value |
---|---|
Validator ID | jakarta.faces.Bean |
Handler Class | com.sun.faces.facelets.tag.faces.core.ValidateDelegateHandler |
Description | None |
Name | Required | Type | Description |
---|---|---|---|
binding |
false
| jakarta.el.ValueExpression
(must evaluate to jakarta.faces.validator.BeanValidator )
|
A ValueExpression that evaluates to an instance of BeanValidator. |
disabled |
false
| jakarta.el.ValueExpression
(must evaluate to java.lang.Boolean )
|
A boolean value enabling page level determination of whether or not this validator is enabled on the enclosing component. |
for | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
|
If present, this attribute refers to the value of one of the exposed attached objects within the composite component inside of which this tag is nested. |
validationGroups | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
|
A comma-separated list of validation groups. A validation group is a fully-qualified class name. |