Hi all,

I have a puzzling situation. I am dynamically adding crux views that contain 
reusable components that contain EventHandler tags. When I remove said 
component and add another, the previous instance of the Crux EventHandler is 
not removed. Instead, another is added.

Destroying that view by tearing down the bean does not seem to remove the 
EventHandler that was previously associated. Instead, the new view adds 
another, then subsequent dispatched events now invoke the EventHandler twice. 
Destroy and add another, then three times, etc.

Is this expected? Is there away to force the EventHandler to cleanup? Should I 
be using the Prototype class to instantiate single instances? If so, can 
someone point me towards how that can be done on the fly?


Thank you.

Brian

Reply via email to