Summary
Tag name:
<tr:validateLength>
type:
org.apache.myfaces.trinidad.Length
Validate that the value entered is within a given length.
Example(s):
<tr:inputText id="mdf3" value="#{bean.value}" label="max length"> <tr:validateLength maximum="#{bean.maxValue}"/> </tr:inputText>
Attributes
Name | Type | Supports EL? | Description |
---|---|---|---|
maximum | int | Yes | the maximum length of the entered value. |
messageDetailExact | String | Yes |
The detail error message to be used for constructing faces messages,
if input value is not of an acceptable length, when both
Parameters:
|
messageDetailMaximum | String | Yes |
The detail error message to be used for constructing faces messages,
when input value exceeds the Parameters:
|
messageDetailMinimum | String | Yes |
The detail error message to be used for constructing faces messages,
when input value is less than the set Parameters:
|
messageDetailNotInRange | String | Yes |
The detail error message to be used for constructing faces messages,
if input value is not of an acceptable length, when both
Parameters:
|
minimum | int | Yes | the minimum length of the entered value. |