82
JSF <f:validateLength> Tag
It is used to check whether the length of a component’s value is within a certain range or not. The value must be a java.lang.String.
Tag 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. |
// index.xhtml
// User.java
Output:
Next TopicJSF <f:validateLongRange>