Summary
Tag name: <tr:validateRegExp>
type: org.apache.myfaces.trinidad.RegExp
Validate expression using java regular expression syntax.
Code Example(s)
<tr:inputText value="9999" label="RegExp validation"> <tr:validateRegExp pattern="[9]*"/> </tr:inputText>
Attributes
| Name | Type | Supports EL? | Description |
|---|---|---|---|
| disabled | boolean | Yes |
Default Value: false Whether the converter should be disabled, default to false. |
| 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. |