[
https://issues.apache.org/jira/browse/WICKET-2958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Louis Letourneau updated WICKET-2958:
-------------------------------------
Attachment: wicket-ajax.patch
The patch to the issue
> 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
> 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.