I think you can put "MyValidator.minimum" in your app's properties file. That makes it the app-level default.
Yuesong -----Original Message----- From: Michael Mehrle [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2008 1:53 PM To: [email protected] Subject: Resource keys for custom Validators? If I write my own MyValidator for a field I can place my resourceKey for example 'minimum' in my panel's properties file under "myForm.weight.MyValidator.minimum". This however requires everyone using that validator to add this value to their panel/page. I assume there is a default way of providing resource keys? Do I put them in the same folder as the Validator? If so, our group has standardized on putting resources in the template folder (not the class folder), and there is no template folder for Validators. Michael --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
