PDA

View Full Version : validation in MessageAreaPane



gohanz
Oct 5th, 2004, 05:12 AM
hi,

how do you set the 'Username is required' when we typed at the loginForm?
I didn't find that string anywhere in the code.

thanks.

pdbruycker
Oct 5th, 2004, 07:21 AM
validation messages are not hard coded in the code, but are built dynamically.

When a rulesSource defines a required constraint, and the constraint is violated, it looks for the display value in the org/springframework/richclient/application/messages.properties file. (Near the end of the file).