Description
AbstractAjaxTimerBehavior calls stop() in it's onRemove() method. When used in a Wizard onRemove is triggered by onActiveStepChanged. This disabled, but never re-enables the behavior if the component tree is reused during wizard stepping.
In my opinion it is more correct to disable the frontend timer but keep the internal state of the Bahavior as is (or resetting headRendered to false as the Behavior is in the pre render state after the onRemove) in order to re-enable the Timer when the step using the Behavior is rendered again.
Attachments
Attachments
Issue Links
- is related to
-
WICKET-4959 Notify behaviors when a component is removed from the tree
- Resolved
- relates to
-
WICKET-5439 Allow restarting AbstractAjaxTimerBehavior without updating its hosting component
- Resolved