title: Dojo BorderContainer widget won't render
body: <p>I've created a layout with Maqetta. Now I want to add the logic to the layout. Therefore I have downloaded the whole workspace from Maqetta and imported the files/libaries into a new Rails project. At first I had some problems, that Rails didn't loaded the dojo,js file, but I've solved that problem.<br>
  Now I have another problem. The page won't render. I've commented everything out except one widget (a button) and this works fine. But if I undo this, nothing happens. Unfortunately I also don't get any warnings/errors or anything like that from dojo.<br>
  After a little bit trying, I changed the parseOnLoad property and now I get a warning:</p>
  
  <blockquote>
    <p>Unhandled Error: Tried to register widget with id==appLayout but that id is already registered  </p>
  </blockquote>
  
  <p>Here is the include tag:</p>
  
  <pre><code>&lt;%= javascript_include_tag "lib/dojo/dojo/dojo", :'data-dojo-config' =&gt; "'async':true,
          'packages':[{'name':'maqetta','location':'../../maqetta'},{'name':'gridx','location':'../gridx'},{'name':'clipart','location':'../../clipart'},{'name':'shapes','location':'../../shapes'},
          {'name':'maqettaSamples','location':'../../../samples'},{'name':'zazl','location':'../../zazl'},{'name':'widgets','location':'../../custom'}]" %&gt;
  </code></pre>
  
  <p>Here is the HTML part (I have simplified it, and now I'm just useing the example from the tutorial):</p>
  
  <pre><code>&lt;body class="claro" data-maq-flow-layout="true" data-maq-ws="collapse" id="myapp" data-maq-appstates="{}"&gt;
  
  &lt;input type="button" data-dojo-type="dijit.form.Button" intermediateChanges="false" label="Search" iconClass="dijitNoIcon" onclick="alert('hi');"&gt;&lt;/input&gt;
  &lt;div
  id="appLayout" class="demoLayout"
  data-dojo-type="dijit/layout/BorderContainer"
  data-dojo-props="design: 'headline'"&gt;
      &lt;div
      class="centerPanel"
      data-dojo-type="dijit/layout/ContentPane"
      data-dojo-props="region: 'center'"&gt;
          &lt;div&gt;
              &lt;h4&gt;Group 1 Content&lt;/h4&gt;
              &lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.&lt;/p&gt;
          &lt;/div&gt;
          &lt;div&gt;
              &lt;h4&gt;Group 2 Content&lt;/h4&gt;
          &lt;/div&gt;
          &lt;div&gt;
              &lt;h4&gt;Group 3 Content&lt;/h4&gt;
          &lt;/div&gt;
      &lt;/div&gt;
      &lt;div
      class="edgePanel"
      data-dojo-type="dijit/layout/ContentPane"
      data-dojo-props="region: 'top'"&gt;Header content (top)&lt;/div&gt;
      &lt;div
      id="leftCol" class="edgePanel"
      data-dojo-type="dijit/layout/ContentPane"
      data-dojo-props="region: 'left', splitter: true"&gt;Sidebar content (left)&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>And here is the parser:</p>
  
  <pre><code>require(["dojo/parser","dojo/domReady!"], function(parser){
       parser.parse();
  });
  </code></pre>
  
  <p>I'm trying for hours now, and I'm still as clueless as at the beginning. Has somebody an idea what I can try?</p>