extjs4 - Extjs 4 Loading a view from controller 2 -


continuing question here: extjs 4 mvc loading view controller how load created view viewport?

here did:

this.getviewportcontent().insert(ext.widget('templatecategorycreate')); 

where getviewportcontent() returns wanted add view to, not work. error was:

uncaught typeerror: cannot call method 'substring' of undefined

and answer simple as:

this.getviewportcontent().add(ext.widget('templatecategorycreate'));

can't believe had debug whole extjs trace this...


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

c# - SharpSVN - How to get the previous revision? -

php cli reading files and how to fix it? -