You need to use an additional constructor in the Custom validator class. public MyPasswordValidator() { super(null, String.class, "msg-key"); }
Where msg-key is the key for the validation message displayed on the the field. You can put this key in ValidationMessages.properties file. -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-use-messages-without-Inject-tp5658897p5662203.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org