Results 1 to 2 of 2

Thread: How do I reference my application from a controller?

  1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    86
    Vote Rating
    -7
      0  

    Default 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

  2. #2
    Sencha User
    Join Date
    Apr 2012
    Posts
    86
    Vote Rating
    -7
      0  

    Default

    Nevermind, found getApplication()

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •