Content validation of input fields can be made directly in the facelet
with the required
attribute and several validation tags.
Validation can also be described in the controller via annotations.
In the context of validation, you may report errors to the user.
The <tc:messages/>
tag provide different severity levels.