1. #1
    Sencha Premium Member
    Join Date
    Nov 2011
    Posts
    162
    Vote Rating
    2
    Answers
    7
    UbuntuPenguin is on a distinguished road

      0  

    Default Unanswered: Controllers using stores.

    Unanswered: Controllers using stores.


    Hello Everyone,
    I am trying to use a store in a controller in my application. The declaration looks like this.

    Code:
    Ext.define('Kessler.controller.StoreLocatorController', {
        extend: 'Ext.app.Controller',
        stores : ['StoreLocationStore'],
    However, when I am stepping through the code in my controller, I never see a "getStoreLocationStore" function. For my refs I see the generated getters and setters, but not for my store which I have also declared in my app.js file in the stores:["blah,blahbla"] array.

    Any help in this matter would be greatly appreciated.

  2. #2
    Sencha Premium Member
    Join Date
    Nov 2011
    Posts
    162
    Vote Rating
    2
    Answers
    7
    UbuntuPenguin is on a distinguished road

      0  

    Default


    Nevermind, the getters appends "Store" to the end of whatever your store's name is. So People would be "getPeopleStore".

Tags for this Thread