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

IFormVisitorParticipant don't get tested when validating form validators dependent components

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.17, 1.5-RC5.1
    • 10.3.0
    • wicket
    • None

    Description

      Currently Form#validateFormValidator only check if dependent components are visible in the page, which causes it to validate forms depending on components that didn't participate in the form processing like:

      • disable form components
      • components under an IFormVisitorParticipant parent that returned false in the #processChildren test
      • components inside a form that was not processed due the Form#wantSubmitOnParentFormSubmit test inside a parent form

      Attachments

        1. WICKET-3899.patch
          3 kB
          Pedro Santos
        2. WICKET-3899-fix-test.patch
          7 kB
          Pedro Santos

        Issue Links

          Activity

            People

              pedrosans Pedro Santos
              pedrosans Pedro Santos
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: