Michael
Michael

Reputation: 5072

zk: how to notify a listener when a zk component is destroyed / detached

is there a possibility to notify a listener when a ZK component is destroyed or detached?

I want different composer of components communicate via an event queue. In order to do this I subscribe listeners for these components to the event queue. Now I need to know when a component or its composer is destroyed in order to unsubscribe its listener.

Thanks

Upvotes: 2

Views: 1506

Answers (1)

Related Questions