PDA

View Full Version : Issue while creating dynamic fields



harshapenikalapati
7 Oct 2013, 9:17 PM
Hi All,

I am getting the following error while creating fields dynamically by reading the json file..json file will have the details about the fields to be created on the screen


Uncaught TypeError: Cannot call method 'writeTo' of null Renderable.js?_dc=1381209227792:171 (http://localhost:8084/Dynamic2/extjs/src/util/Renderable.js?_dc=1381209227792)

Ext.define.afterRenderRenderable.js?_dc=1381209227792:171 (http://localhost:8084/Dynamic2/extjs/src/util/Renderable.js?_dc=1381209227792)
Base.implement.callParentext-debug.js:4266 (http://localhost:8084/Dynamic2/extjs/ext-debug.js)
Ext.define.afterRenderComponent.js?_dc=1381209227659:435 (http://localhost:8084/Dynamic2/extjs/src/Component.js?_dc=1381209227659)
Ext.define.finishRenderRenderable.js?_dc=1381209227792:458 (http://localhost:8084/Dynamic2/extjs/src/util/Renderable.js?_dc=1381209227792)
Ext.define.renderRenderable.js?_dc=1381209227792:784 (http://localhost:8084/Dynamic2/extjs/src/util/Renderable.js?_dc=1381209227792)
Ext.define.createObjectMainController.js?_dc=1381209228101:59 (http://localhost:8084/Dynamic2/app/controller/MainController.js?_dc=1381209228101)
Ext.Ajax.request.successMainController.js?_dc=1381209228101:28 (http://localhost:8084/Dynamic2/app/controller/MainController.js?_dc=1381209228101)
Ext.apply.callbackext-debug.js:7246 (http://localhost:8084/Dynamic2/extjs/ext-debug.js)
Ext.define.onCompleteConnection.js?_dc=1381209228409:1039 (http://localhost:8084/Dynamic2/extjs/src/data/Connection.js?_dc=1381209228409)
Ext.define.onStateChangeConnection.js?_dc=1381209228409:985 (http://localhost:8084/Dynamic2/extjs/src/data/Connection.js?_dc=1381209228409)
(anonymous function)

Can any one please help me

Gary Schlosberg
11 Oct 2013, 3:57 PM
You might try posting some working code to give the community a better chance to help you.