posted 12 years ago
The range validation error message template is contained within the validator's own source code, although you can provide overrides.
In the case of that particular error, the validator does a message Format operation to create a message from the template with the range constraints plugged in, then throws a ValidationException where the Exception message text is the message that was just created. The JSF framework catches it and adds it to the messages container and the JSF message elements select it and format it for display.
I'm going to be a "small government" candidate. I'll be the government. Just me. No one else.