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




Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA