1. #1
    Sencha User luisparada's Avatar
    Join Date
    Nov 2007
    Location
    Venezuela
    Posts
    94
    Vote Rating
    2
    luisparada is on a distinguished road

      0  

    Default Cannot acces to this.getXXXStore() when store is in stores/XXX/Store.js

    Cannot acces to this.getXXXStore() when store is in stores/XXX/Store.js


    I have a small issue that is not allowing me to get a store using the magic method this.getXXStore() using MVC architecture.
    The store is 'AvlSystem.store.alarms.Alarms' and when I try this.getAlarmsStore() it returns undefined.
    How can I access to that store ???
    I also tried using Ext.getStore('store-id') and it also returns undefined.
    Can anyone help me?

    NOTE: small typo the path is store/XXX/Store.js not "stores".
    Last edited by luisparada; 12 Dec 2012 at 8:28 AM. Reason: small typo on title
    ____________________________________
    do not make install, just compile it.!!!
    --------------------------------------------------
    //*************k4m1k4z3************\\

  2. #2
    Sencha User luisparada's Avatar
    Join Date
    Nov 2007
    Location
    Venezuela
    Posts
    94
    Vote Rating
    2
    luisparada is on a distinguished road

      0  

    Default


    Fixed using Ext.create('app.store.alarms.Alarms')
    ____________________________________
    do not make install, just compile it.!!!
    --------------------------------------------------
    //*************k4m1k4z3************\\

Tags for this Thread