Class RequiredValidator

java.lang.Object
jakarta.faces.validator.RequiredValidator
All Implemented Interfaces:
Validator, EventListener

public class RequiredValidator extends Object implements Validator

A Validator that checks for an empty value in the same way that UIInput checks for a value. In fact, this validator is equivalent to setting the required attribute on the input component to true.

Since:
2.0