title: ExtJs: How to use a variable in html
body: <p>I'm trying to create an ExtJS app that uses tabs. I want to be able to set the div id for each tab's corresponding container. </p>
  
  <p>I have this so far:</p>
  
  <pre><code>Ext.define('EXT.view.tab.tabs', {
      extend: 'Ext.container.Container',
      xtype: 'tabs',
      controller: 'tabcontroller',
  
      layout: 'fit',
      config: {
          name: 'image'
      },
      items: [{
          xtype: 'container',
          html: '&lt;div id="{name}"'
      }]
  });
  </code></pre>
  
  <p>So Obviously this doesn't work. How do you use a variable inHTML?</p>
  
  <p>Is there another way to do this. I'm clearly missing something here. </p>
  
  <p>Thanks for the help. </p>