Okay,
So I got it working. As you suggest - stop() works. I then also
store the behavior so that it can be removed permanently on a later
Ajax trip. That way I can keep adding and removing timers with
different intervals.
Thanks!
2009/11/2 Ernesto Reinaldo Barreiro :
> Remember having the sam
Remember having the same problem with panel and I have dome something like
for(Object behavior : getBehaviors()) {
if(behavior instanceof AjaxSelfUpdatingTimerBehavior) {
remove((AjaxSelfUpdatingTimerBehavior)behavior);
}
}
add(new AjaxSelfUpdatingTimerBehavior(Duration.seconds(1000)));
So, that r
Hello,
Is it possible to correctly add and then remove an
AjaxSelfUpdatingTimerBehavior from a component, all by Ajax? At the
moment I'm running into problems - the browser gets a "Page Expired"
response soon after I remove the behavior. I think I have an idea why
it doesn't work in its current