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

Form#anyComponentError change in 1.4 breaks validation

    XMLWordPrintableJSON

Details

    Description

      In wicket 1.4, Form#anyComponentError was changed so that it only calls hasErrorMessage() on instances of Form or FormComponent. This is a validation-breaking change. Currently, when Component#error(...) is called for any component which is neither a Form nor FormComponent, the error is ignored by a Form#hasError() check on the form containing this component. Please change it back to check any Component.

      Attachments

        1. anyComponentErrorTest.zip
          69 kB
          Russell Morrisey

        Activity

          People

            jdonnerstag Juegen Donnerstag
            rmorrisey Russell Morrisey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: