A validator that enforces the presence of a value. It has the same affect as setting the required attribute on a UIInput to true.
Info | Value |
---|---|
Validator ID | jakarta.faces.Required |
Handler Class | com.sun.faces.facelets.tag.jsf.core.ValidateDelegateHandler |
Description | None |
Name | Required | Type | Description |
---|---|---|---|
binding |
false
| jakarta.el.ValueExpression
(must evaluate to jakarta.faces.validator.RequiredValidator )
| A ValueExpression that evaluates to an instance of RequiredValidator. |
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. |