Summary
Tag Name: | tr:validateLongRange> |
Type: | org.apache.myfaces.trinidad.LongRange |
Validate that the value entered is within a given range.
Code Example(s)
<tr:inputText id="mdf3" value="#{bean.value}" label="max validator"> <tr:validateLongRange maximum="#{bean.maxValue}"/> </tr:inputText>
Attributes
Name | Type | Supports EL? | Description |
---|---|---|---|
disabled | boolean | Yes |
Default Value: false Whether the converter should be disabled, default to false. |
maximum | long | Yes | The maximum long value of the entered value. |
messageDetailMaximum | String | Yes |
The detail error message to be used for constructing faces messages, when input value exceeds the maximum value set. Parameters:
|
messageDetailMinimum | String | Yes |
The detail error message to be used for constructing faces messages, when input value is less than the set minimum value. Parameters:
|
messageDetailNotInRange | String | Yes |
The detail error message to be used for constructing faces messages, if input value is not with in the range, when minimum and maximum is set. Parameters:
|
minimum | long | Yes | The minimum long value of the entered value.. |