Re: Add/remove AbstractAjaxBehavior

2012-12-12 Thread Vitaly Tsaplin
I filed an issue https://issues.apache.org/jira/browse/WICKET-4925 2012/12/12 Vitaly Tsaplin > Hi Martin, > > Ok. But what if I want to remove it and then add again later? In my case > I have several behaviors that are relatively heavy to create and I switch > them. > > Vitaly > > > 2012/12/12

Re: Add/remove AbstractAjaxBehavior

2012-12-12 Thread Vitaly Tsaplin
Hi Martin, Ok. But what if I want to remove it and then add again later? In my case I have several behaviors that are relatively heavy to create and I switch them. Vitaly 2012/12/12 Martin Grigorov > Hi, > > It is expected behavior. > An Ajax behavior can work with only one component because

Re: Add/remove AbstractAjaxBehavior

2012-12-12 Thread Martin Grigorov
Hi, It is expected behavior. An Ajax behavior can work with only one component because it cannot create callbackUrl for more than one. On Wed, Dec 12, 2012 at 4:06 PM, Vitaly Tsaplin wrote: > Hi, > > It looks like it is not possible to remove an instance of > AbstractAjaxBehavior. The behavior