The component gets created as the reference is printed properly.
I learned that the tab need to be active before setting the model to the new tab.
if(t != null)
{
var last = tabview.count-1;
tabview.getTab(last).active = true;
t.item.partsModel = toolbarModel
console.log(tabview.getTab(last).item);
}
if(t != null)
{
var last = tabview.count-1;
tabview.getTab(last).active = true;
t.item.partsModel = toolbarModel
console.log(tabview.getTab(last).item);
}
To copy to clipboard, switch view to plain text mode
Thanks for the pointers.
Bookmarks