Controller.js execution starts from onInit(),and then OnBeforeRendering(),and then OnAfterRendering(),and then OnExist().
you can check the flow of Controller.js by putting the alert message in every method.
EX:
onInit: function() {alert("onit");},
onBeforeRendering: function() {alert("onBefore");}
onAfterRendering: function() {alert("onAfter");},
onExit: function() {alert("onEXist");}
you can check the flow of Controller.js by putting the alert message in every method.
EX:
onInit: function() {alert("onit");},
onBeforeRendering: function() {alert("onBefore");}
onAfterRendering: function() {alert("onAfter");},
onExit: function() {alert("onEXist");}
No comments:
Post a Comment