title: ExtJs ref property
body: <p>I have a code as below,</p>
  
  <pre><code>window = Ext.extend(Ext.Window, {
    initComponent: function(){
      Ext.applyIf(this,{
        fbar: {
          xtype: 'toolbar',
          items: [{
            xtype: 'button',
            id: 'button1',
            text: 'button1'
            ref: ??
          }
          ]
        },
        items:[{
          xtype: 'form',
          items: [{
            layout: 'form',
            items:[{
              xtype: 'field'
              id: 'field1'
              ref: ??
            }]
          }]
        }]
      })
    }
  })
  </code></pre>
  
  <p>what can i have for ref property for field and button above, so that i can use with window variable? Please help me in this.</p>
  
  <p>i tried with '../../button', but could not get access through window variable.</p>