biscuit314
19 Feb 2012, 9:22 AM
Things started well. I defined a couple of Basic Functions at the viewport level. I was able to call them using "this.funcname()"
But, when I tried to add a third, no go. The drag/drop operation appeared to succeed, but the third function did not appear. I was able to add as many funcs as I want to Application or Controller, but dragging from either of these to Viewport failed in the same way.
No problem, probably better at the Application level (in fact probably even better at the Controller level).
But I have tried every combination of everything I can think of but simply cannot call the function. Every attempt gives me "undefined" or "not a function".
I looked at the Touch YQL example and it seems simple: appname.app.funcname(). Nope. Nothing, not calls to Ext.getCmp(), not calls to varying depths of namespace/classname.
Please help!
(I've moved all the functionality into a separate file so this is less urgent - still curious)
But, when I tried to add a third, no go. The drag/drop operation appeared to succeed, but the third function did not appear. I was able to add as many funcs as I want to Application or Controller, but dragging from either of these to Viewport failed in the same way.
No problem, probably better at the Application level (in fact probably even better at the Controller level).
But I have tried every combination of everything I can think of but simply cannot call the function. Every attempt gives me "undefined" or "not a function".
I looked at the Touch YQL example and it seems simple: appname.app.funcname(). Nope. Nothing, not calls to Ext.getCmp(), not calls to varying depths of namespace/classname.
Please help!
(I've moved all the functionality into a separate file so this is less urgent - still curious)