Hey, I found the answer. I just added the properties file in the name of the class and provide my own custom message. Can i configure a global properties file instead of properties file for every class.
----- Original Message ---- From: Prashant Khanal <[EMAIL PROTECTED]> To: wicket mail list <wicket-user@lists.sourceforge.net> Sent: Wednesday, June 13, 2007 10:45:44 AM Subject: [Wicket-user] how to provide custom messages for validation Hello all, For a text field i have used NumeberValidator.minimum(1) so that validation error will be thrown when user enters 0 or less. How can i override the validation error message ( '0' must be greater than '1') ? Is there any way to provide custom valdiation message? Thanks in advance ____________________________________________________________________________________ Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase. http://farechase.yahoo.com/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user ____________________________________________________________________________________ Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online. http://smallbusiness.yahoo.com/webhosting ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user