View Full Version : Component Communication

17 Sep 2010, 10:00 PM
Hi all,

Suggestions sought:

I have a page with 2 divs. I have 2 ExtJS javascript (js1 and js2) files each with its own onReady(), each onReady() contains a component that renders to each of the divs in the page.

There is a record in js1 which I would like to add to a store in js2. What's the best way to do this?


21 Sep 2010, 5:13 AM
you can use Ext.getCmp() or some type of global reference.