1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    35
    Vote Rating
    1
    Nos is on a distinguished road

      0  

    Default Ext.application launch function question ?

    Ext.application launch function question ?


    Hi,

    I added a launch function to my Ext.application.
    I believed that this override the old content of launch function.

    I explain :

    I began my project with Sencha Architect 2.0. I updated today with 2.1.

    In my app.js, i had by default:
    launch: function() {
    Ext.create('MyApp.view.Main', {fullscreen: true});
    }

    but i would like to have :
    launch: function() {
    MyApp.main = Ext.create('MyApp.view.Main', {fullscreen: true});
    }

    How to realize this with Sencha Architect ?

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,198
    Vote Rating
    120
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Right click your Main view and click "Unmark as Initial View".
    Go to the application node and add a launch function

    Put in the contents of there
    Code:
    MyApp.main = Ext.create('MyApp.view.Main', {fullscreen: true});
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Sencha User
    Join Date
    May 2012
    Posts
    35
    Vote Rating
    1
    Nos is on a distinguished road

      0  

    Default


    Thank you. It works perfectly

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