View Full Version : MVC Store reference from a different Controller

21 May 2014, 7:04 AM
I am using ExtJS 4.2.1. I have many Controllers each having the appropriate Models, Stores and Views defined within them. What is the proper way to get a reference to a Store that is defined in a different Controller? Can a store be defined in more than one Controller? This is how I have done it so far but it does not seem correct.

Thank you

21 May 2014, 5:39 PM
I believe controllers create a single instance of a store and register it with StoreMgr, then always return that same one, and even other controllers setup with the same store will return the same instance.