Register a named Validator instance on the UIComponent associated with the closest parent UIComponent custom action.
Usage outside of an EditableValueHolder
parent
If this element is nested within a
UIComponent
tag that has other
UIComponent
children, the validator will be
automatically added to all the child components as well as
this one. The implementation must ensure this occurs even if
the parent of this element is not an instance of
EditableValueHolder
.
Name | Required | Type | Description |
---|---|---|---|
binding |
false
| jakarta.el.ValueExpression
(must evaluate to jakarta.faces.validator.Validator )
|
A ValueExpression that evaluates to an object that implements the jakarta.faces.validator.Validator interface. |
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. |
validatorId |
false
| jakarta.el.ValueExpression
(must evaluate to java.lang.String )
|
Validator identifier of the Validator to be created and registered. |