1. #1
    Sencha User
    Join Date
    Mar 2011
    Posts
    81
    Vote Rating
    0
    sarah_77 is on a distinguished road

      0  

    Default Index and views

    Index and views


    If I've an app with many views file ... do I've to insert all views in index.html page or is there another better solution for don't load all views in index page?

    Thanks

  2. #2
    Sencha - Sencha Touch Dev Team rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,158
    Vote Rating
    6
    rdougan will become famous soon enough

      0  

    Default


    If you are using our MVC structure, then if you define your view in your controller, it will automatically be loaded.

    If not, then you will have to add each file into your index.html.
    Sencha Inc.
    Robert Dougan - @rdougan
    Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.

  3. #3
    Sencha User
    Join Date
    Mar 2011
    Posts
    81
    Vote Rating
    0
    sarah_77 is on a distinguished road

      0  

    Default


    So I can define in each controller views used and not in index.html page

    OK?

    Thanks

Thread Participants: 1