wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Grigorov <mgrigo...@apache.org>
Subject Re: Add/remove AbstractAjaxBehavior
Date Wed, 12 Dec 2012 15:16:35 GMT
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 <vitaly.tsaplin@gmail.com>wrote:

> Hi,
>
> It looks like it is not possible to remove an instance of
> AbstractAjaxBehavior. The behavior keeps reference to a component it was
> attached to and doesn't override unbind so it doesn't clear this reference.
> On every subsequent attempt to attach it throws an exception saying that it
> cannot be attached to more then one component. Should I file a bug or it is
> expected behavior?
>
> Vitaly
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message