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? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -