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: [email protected] For additional commands, e-mail: [email protected]
