A typical h:message will display a common error like:
"firstName": Value is required.
This of couse looks very unprofessional, since the field name is taken directly from the name of the property in the backing bean. A pro error message would say:
"First Name": Value is required.
and the "First Name" part of course would be internationalized.
Unfortunately, there seems to be no way to make this happen! I always get this ugly, unprofessional error message instead of a nice, polished error where you can pass the proper label for a field, instead of just using the raw field name.
How can this be accomplished.