wilei
26 Jul 2010, 11:38 PM
After updating Sencha Touch from 0.91 to 0.92 there is problem to show Panel with dockedItems, especially when there is toolbar docked to top of panel. Even Icons -example (which comes in Sencha Touch zip -package) won't work with Sencha Touch version 0.92.
When I try to open Icons -example in Google Chrome (version 6 a.k.a. dev) I'll get following error message to Developer Tools:
Uncaught TypeError: Cannot call method 'update' of null
render | ext-touch-debug.js:12476
constructor | ext-touch-debug.js:12376
subclass.overrides.constructor.objectConstructor.overrides.constructor | ext-touch-debug.js:180
subclass.overrides.constructor.objectConstructor.overrides.constructor | ext-touch-debug.js:180
subclass.overrides.constructor.objectConstructor.overrides.constructor | ext-touch-debug.js:180
onReady | index.js:7
call | ext-touch-debug.js:8440
And when I try to open my own project, basic Panel -view with two docked toolbars (one at the top and one at the bottom of view) and one item (another Panel) I'll get following error message (again to Google Chromes Developer Tools):
Uncaught TypeError: Cannot call method 'setBox' of null
dockItems | ext-touch-debug-w-comments.js:27473
onLayout | ext-touch-debug-w-comments.js:27401
layout | ext-touch-debug-w-comments.js:27158
doComponentLayout | ext-touch-debug-w-comments.js:19522
setSize | ext-touch-debug-w-comments.js:19646
afterRender | ext-touch-debug-w-comments.js:19329
afterRender | ext-touch-debug-w-comments.js:21081
render | ext-touch-debug-w-comments.js:19249
constructor | ext-touch-debug-w-comments.js:19130
subclass.overrides.constructor.objectConstructor.overrides.constructor | ext-touch-debug-w-comments.js:287
subclass.overrides.constructor.objectConstructor.overrides.constructor | ext-touch-debug-w-comments.js:287
onReady | simple.js:65
call | ext-touch-debug-w-comments.js:12289
simple.js (simplified version of my project) is attached to this message.
When I try to open Icons -example in Google Chrome (version 6 a.k.a. dev) I'll get following error message to Developer Tools:
Uncaught TypeError: Cannot call method 'update' of null
render | ext-touch-debug.js:12476
constructor | ext-touch-debug.js:12376
subclass.overrides.constructor.objectConstructor.overrides.constructor | ext-touch-debug.js:180
subclass.overrides.constructor.objectConstructor.overrides.constructor | ext-touch-debug.js:180
subclass.overrides.constructor.objectConstructor.overrides.constructor | ext-touch-debug.js:180
onReady | index.js:7
call | ext-touch-debug.js:8440
And when I try to open my own project, basic Panel -view with two docked toolbars (one at the top and one at the bottom of view) and one item (another Panel) I'll get following error message (again to Google Chromes Developer Tools):
Uncaught TypeError: Cannot call method 'setBox' of null
dockItems | ext-touch-debug-w-comments.js:27473
onLayout | ext-touch-debug-w-comments.js:27401
layout | ext-touch-debug-w-comments.js:27158
doComponentLayout | ext-touch-debug-w-comments.js:19522
setSize | ext-touch-debug-w-comments.js:19646
afterRender | ext-touch-debug-w-comments.js:19329
afterRender | ext-touch-debug-w-comments.js:21081
render | ext-touch-debug-w-comments.js:19249
constructor | ext-touch-debug-w-comments.js:19130
subclass.overrides.constructor.objectConstructor.overrides.constructor | ext-touch-debug-w-comments.js:287
subclass.overrides.constructor.objectConstructor.overrides.constructor | ext-touch-debug-w-comments.js:287
onReady | simple.js:65
call | ext-touch-debug-w-comments.js:12289
simple.js (simplified version of my project) is attached to this message.