Allow custom validators to provide their own resourcebundles
------------------------------------------------------------

                 Key: WICKET-1103
                 URL: https://issues.apache.org/jira/browse/WICKET-1103
             Project: Wicket
          Issue Type: Improvement
          Components: wicket
    Affects Versions: 1.4.0-alpha
            Reporter: Martijn Dashorst
             Fix For: 1.4.0-alpha


Basically allow the following to work:

public class MyValidator extends AbstractValidator {
   protected void onValidate(IValidatable v) {
       error(v);
   }
}

MyValidator.properties
MyValidator=${label} is invalid

MyValidator_nl.properties
MyValidator=${label} is niet goed

Igor also asked for package level resource bundles

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to