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

Forms + ModalWindow + AjaxSubmitLink + FormComponent#isInputNullable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Minor
    • Resolution: Unresolved
    • 1.3.3
    • None
    • wicket, wicket-extensions
    • None

    Description

      Submiting a form which is inside a ModalWindow, wicket javascript sends only the information for the modal window's form, but not for the root form of the page (because ModalWindow hangs its own div at body level).
      On Wicket server side, the form processing is done for the root form, which calls inputChanged for all the components in the page, but the javascript side didn't send the information for them, and then some of them go wrong.
      That happens to FormComponents which have isInputNullable in true.

      More description and proposed solutions in the (to be) attached quickstart project.

      Attachments

        1. modalwindowform.jar
          13 kB
          German Morales
        2. modalwindowform.jar
          13 kB
          German Morales
        3. bug.zip
          26 kB
          Pedro Santos
        4. WICKET-1826.patch
          1 kB
          Pedro Santos

        Activity

          People

            Unassigned Unassigned
            moralesg German Morales
            Votes:
            6 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated: