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

Forms are not validated correctly inside a border

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4-RC1
    • Fix Version/s: 1.4-RC2
    • Component/s: wicket
    • Labels:
      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. bordervalidationtest.tar.gz
          5 kB
          Adriano dos Santos Fernandes
        2. patch.diff
          1 kB
          Adriano dos Santos Fernandes

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: