May you explain further your user case? Thus, we can understand the needs.

Fernando Wermus.

www.linkedin.com/in/fernandowermus



On Wed, May 16, 2012 at 7:00 AM, elvis.ciocoiu
<elvis.cioc...@synthesys.ro>wrote:

> I'm working on something that uses custom information attached to the
> components and needs some sort of a listeners mechanism. The path taken was
> to register the needed listeners in onCreate() of some component but I
> don't
> have a solution to unregister ... The onRemove doesn't help because it's
> called when replacing the component with another in an ajax call. Is there
> a
> way to be notified that a component is reatached to component hierarchy?
> I'm
> using wicket 1.4. Is there another solution? Imagine that using a ListView
> that creates elements and every element registers some listeners ... I need
> to clear those listeners when the element is destroyed.
> Thak you
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/custom-listeners-tp4641122.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
>
>

Reply via email to