1. #1
    Sencha User VDP's Avatar
    Join Date
    Feb 2012
    Location
    Boom, Belgium
    Posts
    83
    Answers
    3
    Vote Rating
    9
    VDP will become famous soon enough

      0  

    Default Answered: Loading applications inside an application

    Answered: Loading applications inside an application


    I'm creating a frame application. Inside the frame you can click menu items. Those items load an application in the container next to it.

    Capture3.PNG

    my folder structure:

    Capture4.PNG

    Like my test app there will be more apps..

    first idea was to use
    Code:
    Ext.require('TestApp.app.view.MyContainer',function(){
       console.log('loaded the required class', 'MyContainer');
       //when this is fire I could create an instance and add it to the container.
    }, this);
    2 problems:
    1. TestApp.app.view.MyContainer <=> TestApp.view.MyContainer

      The classname is Test.view.MyContainer but the folder is TestApp/app/view/MyContainer
    2. the callback method doesn't fire. When does supposed to fire?
    To summarize my questions:
    • Is this a good approach or should I load the app.js?
    • How should I load it?
    • How about required controllers/stores/models/views and those references (where should I put them)?

  2. See detailed reply on stackoverflow.

  3. #2
    Sencha User Izhaki's Avatar
    Join Date
    Apr 2009
    Location
    London
    Posts
    118
    Answers
    7
    Vote Rating
    13
    Izhaki will become famous soon enough

      1  

    Default


    See detailed reply on stackoverflow.

  4. #3
    Sencha User VDP's Avatar
    Join Date
    Feb 2012
    Location
    Boom, Belgium
    Posts
    83
    Answers
    3
    Vote Rating
    9
    VDP will become famous soon enough

      0  

    Default


    Thanks!! Mitchell Simoens' project at https://github.com/mitchellsimoens/SubAppDemo seems very usefull.

    I think I was searching the wrong things because I found another useful thread.

    http://www.sencha.com/forum/showthre...-Applications)

    Thanx for getting me on my way.

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi