[ExtJS5 Study Notes] section 12th List of Issues encountered during Extjs5 development, section 12th of extjs5
Address: http://blog.csdn.net/sushengmiyan/article/details/38975633
Author: sushengmiyan
Certificate ------------------------------------------------------------------------------------------------------------------------------------
The Ext. getCmp Method for component search has an error message.
Problem reproduction:
Multiple components are defined, and the ID and alias name are given to the component. If you want to use the component later, the following error occurs during runtime when Ext. getCmp is used:
TypeError: Ext. getCmp (...) is undefined
Cause and solution:
When I named the component, the component id and alias name were the same, resulting in a conflict when looking for the component. Modify the id and alias name and run it again. The problem is solved.
The controller cannot be found and cannot be identified. *** the Controller error prompt is displayed.
Problem reproduction:
Error: [Ext. createByAlias] Unrecognized alias: controller. *** controller
Throw new Error ("[Ext. createByAlias] Unrecognized alias:" + alias );
Cause:
If the controller is not introduced in uses or require, add the controller reference.
I don't know how to learn Extjs5? The example Folder does not know how to use it. What should I do?
Problem re-occurrence: I want to learn Extjs 5 well, but I don't have an Extjs5 Chinese document. I want to see the example and use sencha cmd To Go To The examples folder, but the examples cannot be executed.
Solution: There is an examples folder under the Extjs5 folder. This folder stores the extjs5 official example. It is very helpful for us to learn. We only need a tomcat server.
Decompress all sencha extjs5 files to the webapps \ ROOT folder of tomcat. In this way, start tomcat. The file directory is as follows:
Then you can execute localhost: 8080 and you will see it. In this example, you can click it to see the demonstration result.
To be continued ....
The official version of extjs5 is fully charged.
Yes.
Who has extJs study notes? Recently I really want to learn ExtJs by myself. Who can tell me how to learn it quickly?
API and official DEMO are the best learning materials.