You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2010/08/28 20:28:59 UTC
[jira] Commented: (WICKET-2958) Success handler not called when
redirecting with Ajax
[ https://issues.apache.org/jira/browse/WICKET-2958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12903859#action_12903859 ]
Hudson commented on WICKET-2958:
--------------------------------
Integrated in Apache Wicket 1.4.x #129 (See [https://hudson.apache.org/hudson/job/Apache%20Wicket%201.4.x/129/])
> Success handler not called when redirecting with Ajax
> -----------------------------------------------------
>
> Key: WICKET-2958
> URL: https://issues.apache.org/jira/browse/WICKET-2958
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4.9
> Reporter: Louis Letourneau
> Assignee: Igor Vaynberg
> Fix For: 1.4.11, 1.5-M2
>
> Attachments: wicket-ajax.patch
>
>
> We put an ajax indicator on our page. This adds the wicket.show('indicator') method before the call to wicketAjaxGet.
> To the wicketAjaxGet a success and failure handler are attached that call the wicket.hide methods.
> We have a button that redirects to a file, so the page doesn't change. The browser just pops up a file download dialog. The thing is that the ajax indicator isn't removed.
> There are no calls to successHandler or failureHandler for redirects only for loadedCalls.
> I attached a patch that adds a call to the successHandler after the this.done() when a redirect is asked for. In most of the cases the successHandler is an empty function.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.