You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Betlista (JIRA)" <ji...@apache.org> on 2013/08/30 10:47:52 UTC

[jira] [Created] (WICKET-5337) Assert that IFormValidator instance is added to the form

Betlista created WICKET-5337:
--------------------------------

             Summary: Assert that IFormValidator instance is added to the form
                 Key: WICKET-5337
                 URL: https://issues.apache.org/jira/browse/WICKET-5337
             Project: Wicket
          Issue Type: Improvement
            Reporter: Betlista
            Priority: Minor


This enhancement is related to this (my) invalid bug https://issues.apache.org/jira/browse/WICKET-5336

Documentation for IFormValidator states:

"... These validators are added to the form..."

It would be fine if there is check in FormComponent, that IValidator is NOT IFormValidator, something like

Args.isFalse(validator instance IFormValidator, "validator");

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira