You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (JIRA)" <ji...@apache.org> on 2014/03/31 10:49:15 UTC

[jira] [Updated] (WICKET-5549) continueToOriginalDestination() fails after redirectToInterceptPage() on AjaxRequest

     [ https://issues.apache.org/jira/browse/WICKET-5549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sven Meier updated WICKET-5549:
-------------------------------

    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 :/.

  was:
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
- original Ajax request is sent by the browser and not by wicket-ajax.js
- Wicket AjaxRequest renders response

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


> continueToOriginalDestination() fails after redirectToInterceptPage() on AjaxRequest 
> -------------------------------------------------------------------------------------
>
>                 Key: WICKET-5549
>                 URL: https://issues.apache.org/jira/browse/WICKET-5549
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 6.14.0, 7.0.0
>            Reporter: Sven Meier
>            Assignee: Sven Meier
>            Priority: Minor
>
> 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 :/.



--
This message was sent by Atlassian JIRA
(v6.2#6252)