PDA

View Full Version : [FIXED][3.1.1-beta] "Ref not working for child panels..." reintroduced



mprice
23 Jan 2010, 1:52 PM
The defect reported here:

http://www.extjs.com/forum/showthread.php?t=87366

appears to have been reintroduced in the 3.1.1 beta.

mprice
23 Jan 2010, 2:01 PM
Actually, it looks like refs that are multiple levels deep are not working. The following code:



Ext.onReady(function(){
//var refPanel =

var vp = new Ext.Viewport({
layout: 'border',
id: 'vp',
items: [
new Ext.Panel({
region: 'center',
xtype: 'panel',
ref: 'refPanel1',
title: 'Ref Panel 1',
bodyStyle: 'padding:10px',
items: [{
xtype: 'panel',
ref: '../refPanel2',
title: 'Ref Panel 2',
frame: true,
html: 'this is ref panel 2'
}]
})
]
})
});


does not get refPanel2 if I run:


Ext.getCmp('vp').refPanel2

evant
24 Jan 2010, 4:19 PM
Please see here: http://www.extjs.com/forum/showthread.php?p=430432#post430432

This issue should be corrected.