I am trying to add a toolbar of the same type to each tab of a tabpanel.
The problem is, that if I add them in an afterrender function(with add() and doLayout()), I get only one toolbar, on the last created tab.
If I add to each tab the proper xtype, so that the toolbar will be added from the beginning, I also get only one instance, which doesn't even gets rendered properly.
How am I supposed to create multiple instances of the same view?