Description
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)
Attachments
Attachments
Issue Links
- is broken by
-
WICKET-4689 Javascript timers not removed when a Component is replaced by ajax
- Closed
- is related to
-
WICKET-6523 Two AbstractAjaxTimerBehaviors on same component timeId conflict
- Resolved
- relates to
-
WICKET-5439 Allow restarting AbstractAjaxTimerBehavior without updating its hosting component
- Resolved