Success! Looks like we've fixed this one. According to our records the fix was applied for a bug in our system in a recent build.
  1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    21
    Vote Rating
    1
    andyboxer is on a distinguished road

      0  

    Default 2.0.0.000311 - launch in controller

    2.0.0.000311 - launch in controller


    What is the purpose of having 'launch' menuitem in dropdown when viewing controller code because if I write there code it is not executed and I should add Basic Function with the name 'onLaunch' to run my code.
    Also when I add 'onLaunch' function to controller I get red exclamation mark to the right of the function in project inspector saying: 'This function is overriding a member', but here is it said that 'Feel free to override it in child classes'.

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,181
    Vote Rating
    119
    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


    The code in your launch method should be executed.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Sencha User
    Join Date
    Dec 2011
    Posts
    21
    Vote Rating
    1
    andyboxer is on a distinguished road

      0  

    Default


    You can easily recreate the issue: start new Ext JS 4 project, define settings, dragndrop controller, switch to code, select launch from dropdown, write console.log('MyController launch'), save, deploy and run in browser: I have no message in firebug...

  4. #4
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,181
    Vote Rating
    119
    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


    Sencha Touch and Ext JS will now show the appropriate launch or onLaunch method to be added on the Controller.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

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