Uncaught TypeError: Object #<Object> has no method 'read'
Ext.define.processResponseext-all-debug-w-comments.js:37928
(anonymous function)ext-all-debug-w-comments.js:38468
Ext.apply.callbackext-all-debug-w-comments.js:8404
Ext.define.onCompleteext-all-debug-w-comments.js:30127
Ext.define.onStateChangeext-all-debug-w-comments.js:30076
(anonymous function)
Solution: Please make sure you have defined the models config for the Store in the controller
Ext.define('IN.controller.Items', {
extend : 'Ext.app.Controller',
//define the stores
stores : ['Items'],
//define the models
models : ['Item'],
//define the views
views : ['item.List', 'item.Edit', 'item.MyNumberField','item.UpperCaseTextField'],
//special method that is called when your application boots
init : function() {
..................
..................
No comments:
Post a Comment
NO JUNK, Please try to keep this clean and related to the topic at hand.
Comments are for users to ask questions, collaborate or improve on existing.