title: Sencha Touch 2 : Getting a reference to an auto-instantiated view
body: <p>I'd like to get a reference to a view from my controller in Sencha Touch 2. 
  I followed the explanation in this question :
  <a href="https://stackoverflow.com/questions/7799747/getting-a-refernce-to-an-auto-instantiated-sencha-touch-2-view">Getting a refernce to an auto-instantiated Sencha Touch 2 view</a></p>
  
  <p>But still, the render and show function in this.control in my controller never get called.</p>
  
  <p>This is my app.js :</p>
  
  <pre><code>Ext.application({
  
    name: 'App',
    appFolder: 'src',
    controllers: ['Home'],
  
    launch: function () {
      Ext.Viewport.setActiveItem({xtype: 'homeView'});
    }
  });
  </code></pre>
  
  <p>This is my view :</p>
  
  <pre><code>Ext.define('App.view.HomeView', {
  
      extend: 'Ext.Panel',
      alias : 'widget.homeView',
  
      config: {
          html : ['&lt;h1&gt;Sencha Touch Web App&lt;/h1&gt;']
      },
  
      initialize: function() {
  
          this.callParent();
      }
  
  });
  </code></pre>
  
  <p>and this is my controller :</p>
  
  <pre><code>Ext.define('App.controller.Home', {
  
     extend      : 'Ext.app.Controller',
     views       : ['HomeView'],
  
  init: function() {
  
     this.control({
  
         'homeView' : {
  
             render: function() {
                 console.log('Render method called!');
             },
             show: function() {
                 console.log('Show method called!');
             }  
          }
      })
    }
  });
  </code></pre>
  
  <p>Does anyone have any idea what I'm doing wrong?</p>
  
  <p>Thanks a lot. 
  Franziska</p>