91
JSF <f:validateLongRange> Tag
It is used to check whether the local value of a component is within a certain range or not. The value must be any numeric type or String that can be converted to a long.
Attributes
Attribute | Description |
---|---|
minimum | It is used to set minimum length for the component. |
maximum | It is used to set maximum length for the component. |
Validating an input tag Example
// index.xhtml
// User.java
Output:
Next TopicJSF <f:validateRegex>