Onlaunch to be called before init in a controller
Is it possible to call onLaunch before init in a controller ?
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.
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.