PDA

View Full Version : ???????????????????????? ref ????????



cyroc
14 Jul 2010, 12:06 AM
???????????????????????? initRef ??????????????

http://extjs.cachefly.net/ext-3.2.1
version xds-1.0.2.4.

MyWindow.ui.js


MyWindowUi = Ext.extend(Ext.Window, {
title: 'My Window',
width: 460,
height: 392,
initComponent: function() {
this.items = [
{
xtype: 'fieldset',
title: 'My Fields',
items: [
{
xtype: 'compositefield',
fieldLabel: 'Label',
items: [
{
xtype: 'textfield',
fieldLabel: 'Label',
ref: '../../AAAA',
id: 'AAAA'
}
]
},
{
xtype: 'textfield',
fieldLabel: 'Label',
ref: '../BBBB',
id: 'BBBB'
}
]
}
];
MyWindowUi.superclass.initComponent.call(this);
}
});

MyWindow.js


MyWindow = Ext.extend(MyWindowUi, {
initComponent: function() {
MyWindow.superclass.initComponent.call(this);
this.AAAA....<--undefined
this.BBBB....<--defined
}
});

yuki
27 Jul 2010, 8:45 PM
???Ext JS?????Ext Designer????????

?????????? (http://www.sencha.com/forum/showthread.php?98641-CLOSED-ref-inside-a-compositefield-not-working-as-expected&p=472144)???????????CompositeField?????Container?????????????CompositeField?items?Container???????items???????????????????????

??????Ext Designer?ref?????????????????????????????????????????????????????????

cyroc
28 Jul 2010, 11:25 PM
?????????????

?????????????????????????????????
????????????????????????????????????????????????

??????????????????????????????

this.compositefield.BBBB

?????????????????????????????

cyroc
5 Mar 2011, 10:57 AM
??????????????autoRef ????????????initComponent???????????????????????????????:-) ...????????????3.3.2??????

RoreArtenny
16 Apr 2011, 6:19 PM
Are you acquiring sick and fed up with all the lies and weight-loss scams in existence? Properly, I got fed up with staying lied to about specified eating plans and busting my arse with the health and fitness center undertaking specific workout routines that under no circumstances truly proved to operate for me in any respect! Immediately after some investigation and perusing a lot of critiques and suggestions, I observed this new fat burning furnace guidebook, made by an ex obesity sufferer whom has identified the proper meals combinations that really burn off that unsightly body fat and help you to shed weight seriously rapid with demonstrated effects ideal from your begin. There may be a means you'll be able to find out much more about this fat burning furnace thing at loose weight (http://mrte.ch/bfz) and see the way it operates and why it'll allow you to shed weight straight away and produce some real results for you too.