You need to tweak behavior's #isEnabled() On Tue, Dec 13, 2011 at 6:50 PM, sudeivas <sureshkumar....@gmail.com> wrote: > I think the issue is because even after the timer is stopped, in the next > cycle a call is going to > > AbstractDefaultAjaxBehavior - > onRequest() > > and because of that its throwing ListenerInvocationNotAllowedException. > > In AbstractAjaxRestartableTimerBehavior.java given in JIRA, the stop() > method just sets the stopped flag to true. > > Also I am not able to override onRequest() in > AbstractDefaultAjaxBehavior.java as it is a final method. Do I need to do > anything else in stop() method? > > Thanks, > Suresh > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Restartable-Self-Updating-Timer-Behavior-tp4188179p4191100.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org >
-- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org