You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Elvis Ciocoiu (JIRA)" <ji...@apache.org> on 2015/01/28 07:44:34 UTC
[jira] [Updated] (WICKET-5822) AjaxSelfUpdatingTimer stops working
after ajax download
[ https://issues.apache.org/jira/browse/WICKET-5822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Elvis Ciocoiu updated WICKET-5822:
----------------------------------
Attachment: timer test.zip
A sample page to reproduce the problem
> AjaxSelfUpdatingTimer stops working after ajax download
> -------------------------------------------------------
>
> Key: WICKET-5822
> URL: https://issues.apache.org/jira/browse/WICKET-5822
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 6.18.0
> Environment: Linux
> Reporter: Elvis Ciocoiu
> Attachments: timer test.zip
>
>
> I've encountered a strange behavior related to AjaxSelfUpdatingTimerBahavior. It triggers normally until I click a link that downloads a dynamic resource. The ajax download link is constructed using the recommendations from:
> https://cwiki.apache.org/confluence/display/WICKET/AJAX+update+and+file+download+in+one+blow
> The problem seems to be related to:
> target.appendJavaScript("setTimeout(\"window.location.href='"
> + url + "'\", 100);");
> from ajax download initiate, but if i comment it the download doesn't work
> anymore.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)