With ExtVal, the error messages shown if validation fails come from different sources, as follows:
For validation that is derived from JPA annotations, ExtVal relies on the standard JSF validators. Hence, the error messages shown are the standard JSF error messages. The way in which standard JSF messages can be overridden is defined in the JSF standard. This is covered in the next section, Overriding standard JSF error messages.
The ExtVal annotations
@Length, @DoubleRange, @LongRange
, and@Required
also rely on standard JSF mechanisms for implementing the validation. So these will lead to standard JSF error messages as well.All other ExtVal annotations have their own default error messages. How to override these ExtVal messages is covered in the Overriding ExtVal default error messages section.