You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2008/10/30 00:44:44 UTC

[jira] Updated: (WICKET-1103) Allow custom validators to provide their own resourcebundles

     [ https://issues.apache.org/jira/browse/WICKET-1103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg updated WICKET-1103:
----------------------------------

    Fix Version/s:     (was: 1.4-M4)
                   1.5-M1
         Assignee:     (was: Juergen Donnerstag)

moving to 1.5. this will take a lot of thinking and probably a lot of tweaks to our i18n resource loading code which is currently only based around component classes.

> 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-M1
>            Reporter: Martijn Dashorst
>             Fix For: 1.5-M1
>
>
> 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.