View Full Version : Onlaunch to be called before init in a controller

3 Jan 2013, 2:45 AM
Is it possible to call onLaunch before init in a controller ?

4 Jan 2013, 10:27 AM
According to the documentation, this is the call order:

Ext.app.Controller.init() is called before the Ext.app.Application.launch() function is executed, so it gives you a hook point to run any code prior to the Viewport being created.

Ext.app.Controller.onLaunch() is called after the viewport is created and after the Ext.app.Application.launch() method is executed.

14 Jan 2013, 3:18 AM
Thanks Friend...I was able to solve the problem without changing the order.
It was a typo from my end that was causing the problem.