title: Extjs 6 Modern - How to execute function in controller from view?
body: <p>In controller</p>
  
  <pre><code>listen: {
     global: {
       'ontest': 'ontestfunction'
     }
  },
  
  ontestfunction: function(){
      alert('oks 31');
  }
  </code></pre>
  
  <p>In view</p>
  
  <pre><code>listeners: {
                  element: 'element',
                  click: function(){
                      Ext.GlobalEvents.fireEvent('ontest');
                  }
       }
  </code></pre>
  
  <p>It is the only way I've found to work, you know some other way?</p>