| Tag Name: | af:validateDoubleRange> |
| Type: | oracle.adf.rich.DoubleRange |
Validate that the value entered is within a given range.
This validator provides hints for the help framework, which cannot be turned off.
This validator also runs on the client (implements org.apache.myfaces.trinidad.validator.ClientValidator).
<af:inputText id="mdf3" value="#{bean.value}" label="max validator">
<af:validateDoubleRange maximum="#{bean.maxValue}"/>
</af:inputText>
<af:inputText id="mdf3" value="#{bean.value1}" label="Range Validator">
<af:validateDoubleRange
minimum="4.1"
maximum="5.9"
messageDetailNotInRange="Value "{1}" does not fall within the range {2} : {3}"/>
</af:inputText>
| Name | Type | Supports EL? | Description |
|---|---|---|---|
| disabled | boolean | Yes | Default Value: false Whether the validator should be disabled, default to false. |
| hintMaximum | String | Yes |
Hint message to be used, to give a hint about the allowed maximum. Parameters:
|
| hintMinimum | String | Yes |
Hint message to be used, to give a hint about the allowed minimum. Parameters:
|
| hintNotInRange | String | Yes |
Hint message to be used, to give a hint about the allowed range. Parameters:
|
| 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. |