title: Dojo does not parse widget declarative in a template html of a custom widget
body: <p>Dojo not seem to parse widget declaratively created in a template html file of a custom widget.</p>
  
  <p>But it works when I am declaratively create it in the home page where dojo configuration was done</p>
  
  <p>here is the code snippet:</p>
  
  <p><em>Home page:</em></p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;script type="text/javascript"&gt;
  var dojoConfig = {
              parseOnLoad: true,
              isDebug: true,
              modulePaths : {"com.cgb":"../../../client/vtm/com/cgb"}
  };
  &lt;/script&gt;
  &lt;script type="text/javascript" src="../common/dojo/dojo/dojo.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;
      dojo.require("dojo.parser");
      dojo.require("com.cgb.modules.deposit.step1_agreement");
      dojo.require("dojox.mobile.ScrollableView");
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div data-dojo-type="com.cgb.modules.deposit.step1_agreement"&gt;&lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p><em>the custom widget:</em></p>
  
  <pre><code>dojo.provide("com.cgb.modules.deposit.step1_agreement");
  
  dojo.require("dojo.cache");
  dojo.require("dijit._Widget");
  dojo.require("dijit._Templated");
  
  dojo.require("dojox.mobile.ScrollableView");
  
  dojo.declare("com.cgb.modules.deposit.step1_agreement", [dijit._Widget, dijit._Templated], {
      templateString: dojo.cache("com.cgb.modules.deposit", "templates/step1_agreement.html"),
      postCreate:function(){
          console.log("widget get instantiated");
      }
  });
  </code></pre>
  
  <p><em>template html of the custom  widget:</em></p>
  
  <pre><code>&lt;div&gt;
      &lt;!--this widget didn't get parsed --&gt;
      &lt;div id="view1" dojoType="dojox.mobile.ScrollableView" height="50px"&gt;
          blah blahblah blah&lt;br/&gt;blah blahblah blah&lt;br/&gt;blah blahblah blah&lt;br/&gt;
          blah blahblah blah&lt;br/&gt;blah blahblah blah&lt;br/&gt;blah blahblah blah&lt;br/&gt;
          blah blahblah blah&lt;br/&gt;blah blahblah blah&lt;br/&gt;blah blahblah blah&lt;br/&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>the ScrollableView widget didn't get parsed, but when I declare it at the Home page it works. I think maybe I must miss something, please help me out.</p>