top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What are the different types of validations in JSF (Java Server Faces)?

0 votes
724 views
What are the different types of validations in JSF (Java Server Faces)?
posted Sep 26, 2017 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

There are two types of validations namely:

Declarative Validations: The validations that are fired using JSF standard validators or Bean validators fall under declarative type.
Imperative validation: The standard validation messages would not be sufficient in all the cases and sometimes may require complex validations that are declared by the user overriding the standard validations and these are called Imperative validations.

JSF validation example: https://www.journaldev.com/7035/jsf-validation-example-tutorial-validator-tag-custom-validator

answer Sep 27, 2017 by Sourav Kumar
...