Results 1 to 2 of 2

Thread: Adding views to app.js

  1. #1
    Sencha User
    Join Date
    Aug 2012
    Posts
    1
    Vote Rating
    0
      0  

    Default Adding views to app.js

    Hi.

    I have a very basic problem, but I cannot seem to solve it!
    When I add a view to the views array in app.js the app is stuck on the loading screen.

    this runs fine:
    Code:
    views: ['Main'],
    this does not run:
    Code:
    views: ['Main','Test'],
    I do have a valid view named test and there are no errors in it as far as I am aware.
    Also if I add a super simple controller like this:
    Code:
    controllers: ['Main'],
    the app will also get stuck.

    I am going insane here. Please help me out!

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,380
    Vote Rating
    1525
      0  

    Default

    You are sure the views and controller's file names and class names match 100%?
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

Posting Permissions

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