Hybrid View
-
13 Mar 2012 4:44 AM #1
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'.
-
13 Mar 2012 11:12 AM #2
The code in your launch method should be executed.
Aaron Conran
@aconran
Sencha Architect Development Team
-
14 Mar 2012 1:56 AM #3
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...
-
3 Apr 2012 4:52 PM #4
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
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.


Reply With Quote