af:validateRegExp validateRegExp validate reg exp RegExp regexp
type: oracle.adf.rich.RegExp
Validate expression using java regular expression syntax.
This validator also runs on the client (implements org.apache.myfaces.trinidad.validator.ClientValidator).
This is an example of a custom error message:
<af:validateRegExp pattern="[9]" messageDetailNoMatch="The value {1} doesn't match the following pattern: {2}"/>
Name | Type | Supports EL? | Description |
---|---|---|---|
disabled | boolean | Yes | Default Value: false Whether the validator should be disabled, default to false. |
hint | String | Yes |
Hint message to be used, when giving a hint on expected pattern. There is no default hint for this property. Parameters:
|
messageDetailNoMatch | String | Yes |
Custom error message to be used, for creating detail part of faces message, when users input does not match the specified pattern. Parameters:
|
pattern | String | Yes | pattern to be matched in the input value. |