English 中文(简体)
JSF - Validator Tags
  • 时间:2024-12-22

JSF - Vapdator Tags


Previous Page Next Page  

JSF provides inbuilt vapdators to vapdate its UI components. These tags can vapdate the length of the field, the type of input which can be a custom object.

For these tags you need to use the following namespaces of URI in html node.

<html 
   xmlns = "http://www.w3.org/1999/xhtml" 
   xmlns:f = "http://java.sun.com/jsf/core">

Following are important Vapdator Tags in JSF 2.0−

S.No Tag & Description
1 f:vapdateLength

Vapdates the length of a string

2 f:vapdateLongRange

Vapdates the range of a numeric value

3 f:vapdateDoubleRange

Vapdates the range of a float value

4 f:vapdateRegex

Vapdates JSF component with a given regular expression

5 Custom Vapdator

Creates a custom vapdator

Advertisements