What is a validator?
In programming validator is used to transform the component data from strings to Java objects and vice versa.
JSF validator tags:
JSF provides inbuilt validators to validate the UI component data. JSF validators can validates length, type, format etc.For using JSF validator tags we have to use the following namespaces of URI in html node.
Commonly used JSF validator tags:
Tag | Description |
It validates length of a string | |
It validates range of numeric value | |
It validates range of float value | |
It validates JSF component with a given regular expression. | |
It validates that the input field is not empty. | |
It creates a custom validator |
No comments:
Post a Comment