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

AjaxFallbackButton not getting form

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.3.1
    • 1.3.2
    • wicket
    • None

    Description

      AjaxFallbackButton is passing mForm instead of getForm() when calling onSubmit and onError. Can be fixed by changing to:

      protected void onSubmit(AjaxRequestTarget target)

      { AjaxFallbackButton.this.onSubmit(target, AjaxFallbackButton.this.getForm()); }

      protected void onError(AjaxRequestTarget target)

      { AjaxFallbackButton.this.onError(target, AjaxFallbackButton.this .getForm()); }

      Attachments

        Activity

          People

            Unassigned Unassigned
            emmostrom Edward Mostrom
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: