[
https://issues.apache.org/jira/browse/WICKET-485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490101
]
Igor Vaynberg commented on WICKET-485:
--------------------------------------
@Johan: the form component name is added outside the validator, inside
formcomponent when it tries to resolve the resource string
@Ville: i will make the public
> Private inner classes of StringValidator should be public
> ---------------------------------------------------------
>
> Key: WICKET-485
> URL: https://issues.apache.org/jira/browse/WICKET-485
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Reporter: Ville Peurala
> Assigned To: Igor Vaynberg
> Priority: Minor
>
> Inner classes of StringValidator, like MaximumLengthValidator, are currently
> private and created only via factory methods. They should be public so that
> their method resourceKey(FormComponent) could be overridden. Currently you
> can't use these ready-made validators if you need to use an existing resource
> bundle key for error messages.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.