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

AjaxFallbackButton#onError parameter type should be Optional<AjaxRequestTarget>

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 8.0.0-M3
    • 8.0.0-M4
    • wicket
    • None

    Description

      The parameter for AjaxFallbackButton#onSubmit is Optional<AjaxRequestTarget> because the AjaxRequestTarget can be null. However, the parameter for AjaxFallbackButton#onError is AjaxRequestTarget. The AjaxRequestTarget can be null so the parameter to #onError should follow #onSubmit and also be Optional.

      Attachments

        Activity

          People

            svenmeier Sven Meier
            ageery Andrew Geery
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: