Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

[12:39:58 CDT(-0500)] <Justin_o> Bosmon: I think i figured out the problem.. I had two instances of "decapod.eventBinder" one was a direct subcomponent of and the other was subcomponent a level or two further down. When I wrote the demands block it added a listener to both of the "decapod.eventBinder" subcomponents which is why it was firing twice. I suppose with the namespace the second instance of it now just replaces the first.

[12:49:53 CDT(-0500)] <Justin_o> Bosmon: do you have a suggestion for a proper way around this… lower level component shouldn't be getting the listener. The only thing I could think of would be to write another demands block that is more specific to the lower level component to prevent it from matching. Is that the only way, or is there a better solution?