Re: AjaxSelfUpdatingTimerBehavior and ModalWindow

2009-07-21 Thread satar
I know this is an old post but it hits an issue I currently have. I want to provide the user the ability to turn on/off auto refresh of data from the database. If all possible, I would like to use the original AjaxSelfUpdatingTimerBehavior or at least the AbstractAjaxTimerBehavior but it has the

Re: AjaxSelfUpdatingTimerBehavior and ModalWindow

2009-07-21 Thread Martin Makundi
Well.. you could just replace it with a new one.. ** Martin 2009/7/21 satar starl...@gmail.com: I know this is an old post but it hits an issue I currently have. I want to provide the user the ability to turn on/off auto refresh of data from the database. If all possible, I would like to use

Re: AjaxSelfUpdatingTimerBehavior and ModalWindow

2009-07-21 Thread dtoffe
There is an enhancement request in Wicket JIRA for this issue, but it is set to 1.5 release... http://issues.apache.org/jira/browse/WICKET-1525 In the meantime, the class I created merging AjaxSelfUpdatingTimerBehavior and AbstractAjaxTimerBehavior is working fine, although I agree

Re: AjaxSelfUpdatingTimerBehavior and ModalWindow

2009-02-26 Thread dtoffe
I post my solution just in case someone else finds it useful. I've created a copy of AbstractAjaxTimerBehavior and added the methods in AjaxSelfUpdatingTimerBehavior. Then I added a start method: public final void start(final AjaxRequestTarget target) { stopped = false;