title: Extjs calling function from object declaration
body: <p>I have this code:</p>
  
  <pre><code>Ext.define('DKM.BaseClasses.Stores.BaseStore', {
  requires:['Ext.window.MessageBox'],
  extend: 'Ext.data.Store',
  
  proxy:  {
          type:'ajax',
          listeners: {
              exception: function(proxy, response, options) {                 
                  requestMessageProcessor(proxy, response);
              }
  
          },
          afterRequest: function(request, success) {
  
              requestMessageProcessor(request.scope, request.operation.response);
          },
  },      
  
  requestMessageProcessor: function(proxy, response) {
  ...
  </code></pre>
  
  <p>What I would like to do is to call requestMessageProcessor. The problem (maybe a scope problem) is that I recieve an error "requestMessageProcessor is not a function".</p>
  
  <p>Can anybody give me an advice?</p>
  
  <p>Thanks in advance!
  David</p>