You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Alasdair Collinson (JIRA)" <ji...@apache.org> on 2015/04/29 13:50:06 UTC

[jira] [Created] (WICKET-5897) Use the #isEnabled() method with validators

Alasdair Collinson created WICKET-5897:
------------------------------------------

             Summary: Use the #isEnabled() method with validators
                 Key: WICKET-5897
                 URL: https://issues.apache.org/jira/browse/WICKET-5897
             Project: Wicket
          Issue Type: New Feature
          Components: wicket
    Affects Versions: 6.19.0
            Reporter: Alasdair Collinson


The method FormComponent#validateValidators() (and every other place where validators are validated) should first check whether the validator is enabled via the Behavior#isEnabled(Component) method. This would make it easy to create conditional validators.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)