ExtJS MVC Controller ref to Tab Panel's active tab
I have an MVC app which has a [Tab Panel](http://docs.sencha.com/ext-js/4-1/#!/api/Ext.tab.Panel) rendered as the only item in the viewport. Within the tabs I would like to put the same type of component, for which the event handling is equal within all tabs.

Therefore I need an ExtJS MVC [Controller ref](http://docs.sencha.com/ext-js/4-1/#!/api/Ext.app.Controller-cfg-refs) to the active tab, that would lead me to execute events on the components in the active tab. Is it possible to have such a `ref`?

My current approach is this:

 1. get reference to Tab Panel
 2. call [getActiveTab()](http://docs.sencha.com/ext-js/4-1/#!/api/Ext.tab.Panel-method-getActiveTab)
 3. call the controller events for the component in active tab

Is it possible to encapsulate the above 3 steps in one controller `ref`? Would be *beautiful* :-)

I'm using ExtJS 4.1.
ExtJS MVC Controller ref to Tab Panel's active tab
===

I have an MVC app which has a [Tab Panel](http://docs.sencha.com/ext-js/4-1/#!/api/Ext.tab.Panel) rendered as the only item in the viewport. Within the tabs I would like to put the same type of component, for which the event handling is equal within all tabs.

Therefore I need an ExtJS MVC [Controller ref](http://docs.sencha.com/ext-js/4-1/#!/api/Ext.app.Controller-cfg-refs) to the active tab, that would lead me to execute events on the components in the active tab. Is it possible to have such a `ref`?

My current approach is this:

 1. get reference to Tab Panel
 2. call [getActiveTab()](http://docs.sencha.com/ext-js/4-1/#!/api/Ext.tab.Panel-method-getActiveTab)
 3. call the controller events for the component in active tab

Is it possible to encapsulate the above 3 steps in one controller `ref`? Would be *beautiful* :-)

I'm using ExtJS 4.1.