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

continueToOriginalDestination() fails after redirectToInterceptPage() on AjaxRequest

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.14.0, 7.0.0-M1
    • Fix Version/s: 7.0.0-M1, 6.15.0
    • Component/s: wicket
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: