Wicket
  1. Wicket
  2. WICKET-1826

Forms + ModalWindow + AjaxSubmitLink + FormComponent#isInputNullable

    Details

    • Type: Bug Bug
    • Status: Reopened
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.3.3
    • Fix Version/s: None
    • Component/s: wicket, wicket-extensions
    • Labels:
      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.

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

        Activity

        Pedro Santos made changes -
        Attachment bug.zip [ 12469197 ]
        Attachment WICKET-1826.patch [ 12469198 ]
        Igor Vaynberg made changes -
        Assignee Matej Knopp [ knopp ]
        German Morales made changes -
        Attachment modalwindowform.jar [ 12390868 ]
        German Morales made changes -
        Resolution Invalid [ 6 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Matej Knopp made changes -
        Resolution Invalid [ 6 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Igor Vaynberg made changes -
        Assignee Matej Knopp [ knopp ]
        German Morales made changes -
        Field Original Value New Value
        Attachment modalwindowform.jar [ 12389945 ]
        German Morales created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            German Morales
          • Votes:
            5 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:

              Development