[
https://issues.apache.org/jira/browse/WICKET-3879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Grigorov resolved WICKET-3879.
-------------------------------------
Resolution: Fixed
Fix Version/s: 6.0.0
Assignee: Martin Grigorov (was: Igor Vaynberg)
In Wicket 6.0 IFormValidator can also have its own resource bundle as other
IValidator's.
There is a comment in IFormValidator to make it implement IValidator and this
will lead to a simplification in ValidatorStringResourceLoader but this will
lead also to some API breaks which we try to avoid unless really needed.
> Support FormValidator and package level resource bundles
> --------------------------------------------------------
>
> Key: WICKET-3879
> URL: https://issues.apache.org/jira/browse/WICKET-3879
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Reporter: Sylvain Vieujot
> Assignee: Martin Grigorov
> Fix For: 6.0.0
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira