cant you add the behavior directly to the panel? -igor
On Thu, Jul 23, 2009 at 7:24 AM, Doyle, Mark<mark.do...@logica.com> wrote: > I have a collection of Panels that are switched via an AjaxTabbedPanel > Component. One of the panels has an AjaxSelfUpdatingBehaviour attached > which works fine. However, if I switch to another panel the self > updating behaviour is stopped because the component is no longer visible > (a precondition check). This is perfectly reasonable logic. My problem > is that when I switch back to the tab with the AjaxSelfUpdatingBehaviour > it is still stopped and never restarts ( I'm guessing it's related to > the stop flag in the behaviours class!). > > > > So is it possible to restart the behaviour? I've tried overriding the > renderHead() to try and avoid the if stopped check but it didn't work so > I guess there is something more complicated going on behind the scenes. > > > > Cheers, > > Mark > > > > Please help Logica to respect the environment by not printing this email / > Pour contribuer comme Logica au respect de l'environnement, merci de ne pas > imprimer ce mail / Bitte drucken Sie diese Nachricht nicht aus und helfen > Sie so Logica dabei, die Umwelt zu schützen / Por favor ajude a Logica a > respeitar o ambiente nao imprimindo este correio electronico. > > > > This e-mail and any attachment is for authorised use by the intended > recipient(s) only. It may contain proprietary material, confidential > information and/or be subject to legal privilege. It should not be copied, > disclosed to, retained or used by, any other party. If you are not an > intended recipient then please promptly delete this e-mail and any attachment > and all copies and inform the sender. Thank you. > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org