title: In Sencha Touch 2 binding data to tpl with Panel not working
body: <p>I am new to Sencha Touch and trying Sencha Touch version 2 for a demo of xtemplates. This is what I have code.</p>
  
  <pre><code>Ext.application({
    name: 'Templates',
  
    launch: function(){
      var content, planetInfo, planetEarth;
  
      planetEarth = { name: "Earth", mass: 1.00 };
  
      planetInfo = new Ext.XTemplate(
        "&lt;h2&gt;{name}&lt;/h2&gt;mass: {mass}"
      );
  
      content = new Ext.Panel({
        fullscreen: true,
        scroll: 'vertical',
        tpl: planetInfo
      });
  
      content.update(planetEarth);
    }
  });
  </code></pre>
  
  <p>output for this code should be in HTML format in the panel. But I just get [object Object]. Please help.</p>