Javatpoint Logo
Javatpoint Logo

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:

JSF F validatelongrange tag 1



Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


B.Tech / MCA