AbstractAjaxTimerBehavior with restart ability

2011-12-02 Thread Daniel Stoch
Hi, Current implementation of AbstractAjaxTimerBehavior has a functionality to stop() pooling. But once stopped it cannot be restarted. There are situations when we want to periodically refresh components from one event to another, but not all the time (to avoid unnecessary requests to server).

Re: AbstractAjaxTimerBehavior with restart ability

2011-12-02 Thread Martin Grigorov
Hi, There is a ticket with attached patch about this in our Jira. Unfortunately it requires API change and that's why it waits for 1.6. Igor mentioned once that the behavior can be reworked to stop/start depending on Behavior#isEnabled(Component). Find the ticket, play with #isEnabled and if it