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

Form processing throws NPE if button.onsubmit() moves the button or its parents out of the component hierarchy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.2
    • 1.3.3
    • wicket
    • None

    Description

      if button.onsubmit() takes the button out of hierarchy form processing breaks. the reason is that after onsubmit() of the button is ran wicket will call button.getform() which returns null because the button is out of the component hierarchy

      Attachments

        Activity

          People

            ivaynberg Igor Vaynberg
            ivaynberg Igor Vaynberg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: