You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2014/04/01 13:48:15 UTC

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

    [ https://issues.apache.org/jira/browse/WICKET-5549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13956427#comment-13956427 ] 

Martin Grigorov commented on WICKET-5549:
-----------------------------------------

The patch looks OK.

> 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
>         Attachments: WICKET-5549.patch, WICKET-5549.zip
>
>
> 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)