You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2010/08/25 09:54:18 UTC
[jira] Assigned: (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:all-tabpanel ]
Igor Vaynberg reassigned WICKET-2958:
-------------------------------------
Assignee: Igor Vaynberg
> 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
> 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.