Как я могу извлечь контекст компонента, к которому привязана формула? Я хочу получить контекст label1 в get() формулы1.
У меня есть компонент просмотра
{
xtype : 'label',
name : 'label1'
bind : {
text : '{formula1}'
}
}
модель просмотра
formula : {
formula1 : {
get : function(param){
//------------------ how to get the name of the label
here to which this formula is bound ------
}
}
}
bind: { text: '{formula1}', name: '{label1}'}
- person CD..   schedule 16.01.2015