Why not "put" the behavior "outside" the tab and just do something if you are on the wight tab?
Ernesto On Mon, Jun 7, 2010 at 3:07 PM, Decebal Suiu <decebal.s...@asf.ro> wrote: > > When I switch to other tab I received a PageExpiredException: > org.apache.wicket.protocol.http.PageExpiredException: No behavior listener > found with behaviorId 0; Component: [MarkupContainer [Component id = panel]] > > Any idea how can I remove/stop the AjaxSelfUpdatingTimerBehavior? > I created a visitor (in TabbedPanel.newLink) that visit all children > components and for each component if I found that a behavior is an instance > of AjaxSelfUpdatingTimerBehavior call stop method and remove the behavior > but the exception appears again on tab switch. > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/TabbedPanel-with-AjaxSelfUpdatingTimerBehavior-tp2243691p2245915.html > Sent from the Wicket - User 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 > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org