Can you suggest good practices for information related to validation messages in the user interface. Assuming you have a the following tables (User, Address, Email) and we use JPA to model our entities and the underlying validation provider is Hibernate.
The default messages which are throws when a value is empty or incorrect is either validator.required=value is required validator.notNull=may not be null
It would be ideal to provide user friendly messages like.
Enter your password here Enter your first name Enter the city name City name cannot contain numerical characters
Any suggestions on web sites which already do this or a set of grammatically correct sample messages for the exisiting default keys shipped as part of hibernate validator jar will be useful.