You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/06/28 19:19:57 UTC
[jira] [Commented] (WICKET-6191) AjaxTimerBehavior will stop after
ajax update of component it is attached to
[ https://issues.apache.org/jira/browse/WICKET-6191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15353566#comment-15353566 ]
ASF subversion and git services commented on WICKET-6191:
---------------------------------------------------------
Commit f71a2d33c2ff9dbb669066a3dfc7b58229824b0e in wicket's branch refs/heads/wicket-7.x from [~svenmeier]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=f71a2d3 ]
WICKET-6191 always add timeout when rendered, since wicket-ajax removes any previous timer
> AjaxTimerBehavior will stop after ajax update of component it is attached to
> ----------------------------------------------------------------------------
>
> Key: WICKET-6191
> URL: https://issues.apache.org/jira/browse/WICKET-6191
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 7.3.0
> Reporter: Vlastimil
> Assignee: Sven Meier
> Attachments: ajax-timer-update-quickstart.zip
>
>
> If you update a component that has AjaxTimerBehavior attached, this behavior will not fire anymore.
> See attached quickstart.
> This is due to wicket-ajax-jquery.js:2880 - all timers are removed on components DOM node remove (update). But new timer is not scheduled by the behavior because it thinks it has timeout already scheduled.
> I propose to add timeout in AbstractAjaxTimerBehavior.renderHead() at all circumstances, not only on full page render. (as shown in attached quickstart)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)