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

sql - text truncated using perl DBI insert -

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

php - Pass object by reference or value -