pinidbest
19 Apr 2012, 3:18 AM
Hi all,
I am building a foundation stuff in my extjs 4 application. This foundation is under a Foundation folder under my app folder and it is not part of the controller/model/data folders.
I need to access the application instance from there.
Just like this.getApplication works from the controller (I know it cant be done and why from the view)
I event tried to keep the this variable within the lunch event in a global param but this doenst work.
Is there any
Ext.app.getInstance of something like that?
I am building a foundation stuff in my extjs 4 application. This foundation is under a Foundation folder under my app folder and it is not part of the controller/model/data folders.
I need to access the application instance from there.
Just like this.getApplication works from the controller (I know it cant be done and why from the view)
I event tried to keep the this variable within the lunch event in a global param but this doenst work.
Is there any
Ext.app.getInstance of something like that?