-
How do I reference my application from a controller?
How do I reference my application from a controller?
As usual, documentation is silent about how to reference the application from within a controller, despite showing sample code like:
doLogin:function(){var form =this.getLoginForm(), values = form.getValues();MyApp.authenticate(values);}
there is nothing bound do MyApp - it is undefined.
Last edited by CarClub; 14 May 2012 at 1:18 PM.
Reason: format
-
Nevermind, found getApplication()
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us