A validator that uses the pattern attribute to validate the wrapping component. The entire pattern is matched against the String value of the component. If it matches, it's valid.
Info | Value |
---|---|
Validator ID | jakarta.faces.RegularExpression |
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.RegexValidator )
|
A ValueExpression that evaluates to an instance of RegexValidator. |
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. |
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. |
pattern | true | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
|
A regular expression pattern. Remember that, like in all Java strings, backslash must be escaped with another backslash. |