PDA

View Full Version : controller and selectors



nicolabaldo
20 Aug 2013, 7:09 AM
I've got a controller, a view and some references inside the MyApp.view.Container.
I'de like to to create two window with the same content and behavior.
But it not works... probably becouse the reference has the same #itemId?

For example:
{
ref: 'myref',
selector: '#myref'
}

Ext.create('Ext.window.Window', { title: 'Hello', height: 200, width: 400, layout: 'fit', items: Ext.create(MyApp.view.Container)}).show();

jminnick
21 Aug 2013, 6:43 AM
Can you post more of your code so others can get a better idea of what you're trying to accomplish?