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

Forms are not validated correctly inside a border

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4-RC1
    • 1.4-RC2
    • wicket
    • None

    Description

      Attached a quickstart:

      • On the first (without border) form, enter something on the second field and click submit
      • onError is called, as the first field is required
      • On the second (in a border) form, enter something on the second field and click submit
      • onSubmit is incorrectly called, as the first field is required

      Attached a patch that seems to fix the problem.

      Attachments

        1. patch.diff
          1 kB
          Adriano dos Santos Fernandes
        2. bordervalidationtest.tar.gz
          5 kB
          Adriano dos Santos Fernandes

        Activity

          People

            jdonnerstag Juegen Donnerstag
            asfernandes Adriano dos Santos Fernandes
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: