You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martijn Dashorst (JIRA)" <ji...@apache.org> on 2008/04/05 11:25:24 UTC

[jira] Reopened: (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 ]

Martijn Dashorst reopened WICKET-1103:
--------------------------------------


The idea is to fold this into core so it works "out of the box"

> 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
>            Assignee: Juergen Donnerstag
>             Fix For: 1.4-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.