Summary
Tag Name: | tr:validateDoubleRange> |
Type: | org.apache.myfaces.trinidad.DoubleRange |
Validate that the value entered is within a given range.
Code Example(s)
<tr:inputText id="mdf3" value="#{bean.value}" label="max validator"> <tr:validateDoubleRange 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 | double | Yes | The maximum double 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 | double | Yes | The minimum double value of the entered value.. |