Hi, Yes, by using Component#getBehaviors
Sebastien. On Thu, Nov 1, 2012 at 6:13 PM, eugenebalt <eugeneb...@yahoo.com> wrote: > Thanks for the answers so far. My latest question is, I need to check if a > cfomponent has any Ajax behaviors added to it. > > For some reason, a Component does not have visitChildren() defined for it. > > I see a method called contains() but you have to have a Component reference > passed to it -- all my Ajax behaviors are added as anonymous objects to my > components. > > Any ideas? > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Quickly-Check-if-a-Component-Contains-Ajax-Behaviors-tp4653539.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 > >