Summary
Tag name: <f:validateDoubleRange>
Validator class: javax.faces.validator.DoubleRangeValidator
Tag class: org.apache.myfaces.taglib.core.ValidateDoubleRangeTag
validator id: javax.faces.DoubleRange
Creates a validator and associateds it with the nearest parent
UIComponent. When invoked, the validator ensures that values are
valid doubles that lie within the minimum and maximum values specified.
Commonly associated with a h:inputText entity.
Unless otherwise specified, all attributes accept static values or EL expressions.
see Javadoc of JSF Specification
Attributes
Name | Type | Supports EL? | Description |
---|---|---|---|
binding | javax.faces.validator.DoubleRangeValidator | Only EL | A ValueExpression that evaluates to a DoubleRangeValidator. |
maximum | double | Yes | The largest value that should be considered valid. |
minimum | double | Yes | The smallest value that should be considered valid. |