Hi
I'm working on a project where I have two objects that need to communicate
with each other, and I figured the best way would be to use events. I can
get the events working within a single object, but not from one to the
other.

Trigger Object
-> fireDataEvent("statusUpdate","Message");

Reaction Object
-> this.addListener("statusUpdate", function(e)
    {
         alert(e.getData());
     }, this);

The problem is that these are in different files. It works when the
fireEvent and the listener are in the same file, but not when they are
separate.

I'm hoping that this is even possible.

Thanks
Alex

-- 
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Passing-events-between-objects-tp5715621p5715621.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to