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

continueToOriginalDestination() fails after redirectToInterceptPage() on AjaxRequest

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 6.14.0, 7.0.0-M1
    • 7.0.0-M1, 6.15.0
    • wicket
    • None

    Description

      Consider the following requests:

      • user clicks link on HomePage
      • wicket-ajax.js sends ajax request to AjaxLink
      • HomePage redirects to InterceptPage
      • user clicks link on InterceptPage
      • request (ajax or normal) is sent to InterceptPage
      • InterceptPage continues to original destination with redirect
      • original Ajax request is sent by the browser and not by wicket-ajax.js
      • Wicket AjaxRequest renders the response

      The resulting <ajax-response/> is rendered in the browser :/.

      Attachments

        1. WICKET-5549.patch
          1 kB
          Sven Meier
        2. WICKET-5549.zip
          23 kB
          Sven Meier

        Activity

          People

            svenmeier Sven Meier
            svenmeier Sven Meier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: