-
28 Jan 2012 5:09 AM #1
PR4: Ext.app.Controller.launch() no longer called by MVC framework
PR4: Ext.app.Controller.launch() no longer called by MVC framework
Hi,
in Sencha Touch 2.0.0 Pre-Release 3 (and previous releases), controllers could have two methods that are called by the MVC framework during application startup:
* Ext.app.Controller.init() -- called when the application boots, i.e., before the Application's launch function is executed
* Ext.app.Controller.launch() -- called after the launch method of Application is executed.
With Sencha Touch 2.0.0 Pre-Release 4, the controllers' launch methods are no longer called.
This looks like a bug to me because both, init() and launch(), make sense to me.
Best regards,
Frank
-
28 Jan 2012 8:32 AM #2Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,653
- Vote Rating
- 14
Thank you for the report, we'll get that fixed.
-
28 Jan 2012 11:04 AM #3Sencha - Community Support Team
- Join Date
- Jan 2009
- Location
- Palo Alto, California
- Posts
- 1,941
- Vote Rating
- 6
Fair enough, I'll restore that
Ext JS Senior Software Architect
Personal Blog: http://edspencer.net
Twitter: http://twitter.com/edspencer
Github: http://github.com/edspencer
-
28 Jan 2012 11:40 AM #4Sencha - Community Support Team
- Join Date
- Jan 2009
- Location
- Palo Alto, California
- Posts
- 1,941
- Vote Rating
- 6
Ok this is now done, it'll be in the next release. The bootup sequence is now:
1. Controller#init functions called
2. Profile#launch function called
3. Application#launch function called
4. Controller#launch functions calledExt JS Senior Software Architect
Personal Blog: http://edspencer.net
Twitter: http://twitter.com/edspencer
Github: http://github.com/edspencer
-
28 Jan 2012 11:51 AM #5
Success! Looks like we've fixed this one. According to our records the fix was applied for
TOUCH-1659
in
2.0.


Reply With Quote