Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5897

Use the #isEnabled() method with validators

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.19.0
    • 6.20.0, 7.0.0-M6
    • wicket
    • None

    Description

      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.

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            blalasaadri Alasdair Collinson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: