Extjs 4 MVC loading a view from controller
问题 Ok so I have a controller with a method in which I want to load a view. How do I load a view from a controller? How do I pass some parameters from the controller to the view when I load it? Any help is much appreciated. 回答1: To load a view, you can use Ext.widget() . Use Ext.define() to create a view in your view file. I would recommend using the alias property to define an inline xtype for the view. When you need to load the view, you create an view using Ext.widget() and specify the xtype