I have a AjaxTabbedPanel contains few AbstractTabs. There is a component
(dataPanel) in one of the AbstractTab (say tab#2).
dataPanel.add(new AjaxSelfUpdatingTimerBehavior(Duration.seconds(5)){
@Override
protected void onPostProcessTarget(AjaxRequestTarget target)
{
//dataPanel.reQuery();
}
});
this.dataPanel.setOutputMarkupId(true);
If click the tab#2 the first time, I can see the reQuery running every 5
seconds. It works fine. But the reQuery stop working if I click other tab
then come back to tab#2. I also observed that refresh the browser will make
the reQuery running again.
Why the AjaxSelfUpdatingTimerBehavior stop working if move to other tab? Is
there a way to re-run the AjaxSelfUpdatingTimerBehavior?
Thanks!
rtow
--
View this message in context:
http://www.nabble.com/AjaxSelfUpdatingTimerBehavior-with-AjaxTabbedPanel-and-AbstractTab-tp16989421p16989421.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]