thank you again very much... just to complete
is the following code the consequent only solution or there is a more elegant way to address it?
Code:
refs: {
info1: '#infoview1',
info2: '#infoview2'
},
control: {
'info1': {
activate: 'fillData'
},
'info2': {
activate: 'fillData2'
}
}
...
Code:
fillData2: function() {
this.fillData(2);
},
fillData: function(level) {
var store = Ext.getStore('infostore');
switch (level) {
case 1:
default:
var panel = this.getInfo1();
break;
case 2:
var panel = this.getInfo2();
break;
}
store.load({
....
Alessandro