The Java EE 7 Tutorial
14.3 Validating Composite Component Values
JavaServer Faces provides the following tags for validating values of input components. These tags can be used with the composite:valueHolder
or the composite:editableValueHolder
tag.
Table 14-2 lists commonly used validator tags. See Using the Standard Validators for details and a complete list.
Table 14-2 Validator Tags
Tag Name | Description |
---|---|
Delegates the validation of the local value to the Bean Validation API. |
|
Uses the |
|
Enforces the presence of a value. Has the same effect as setting the |