title: How to bind server response to a label in sencha touch 2.0?
body: <p>In my app i have declared a label:-</p>
  
  <pre><code> {
       xtype: 'label',
       id: 'errLabel',
       margin: '15 0 0 0'
   },
  </code></pre>
  
  <p>I want to display server response to the above label, for which I wrote a model and a store.
  Now in my view i write the following code to add the server data to the label:-</p>
  
  <pre><code> if(!this.strStore)
   {
        this.strStore = Ext.create('AGNSMS.store.logStore');
        console.log("strStore created");
   }
  
                     this.strStore.getProxy().setExtraParam({'UserId' : 
                    'XXXXXXX','Password' : 'XXXXXXX'});
  
                     var str = Ext.getCmp('errLabel');
  
                     str.setHtml('{MY_MODEL_FIELD}');
  </code></pre>
  
  <p>I know this not a right method.After click on login button label displays {MY_MODEL_FIELD} instead of real server data.So please suggest me something to display server response to the label.</p>