Hi everyone!

I've got 2 items in a FormPanel. First one is a radiogroup, second one is an Extended TabPanel.

I'm trying to modify some properties of the TabPanel depending the value of the radiogroup.

I've been thinking about it and i've coded this:
Code:
var f = new Ext.FormPanel({
    ...
    items:[{
        ...
    },{
        xtype: 'radiogroup',
        hideLabel: true,
        itemCls: 'x-check-group-alt',
        vertical: true,
        name: 'ro',
        columns: 1,
        items:[{
            ...
        }]
    },{
        ...
    },{
        xtype: 'tabPanelFianzas',
        radio: f.getForm().findfield('ro')
    },{
        ...
    }]
And trying to handle the value of 'ro' in my extended tabPanelFianzas.

Is it anyway to do it? is it the correct way? I'm tring to avoid the use of Ext.getCmp().

f is undefined like that, and i've been trying with "this" and is window.document.

Thanks in advance!