title: Template Editor AEM not working as expected
body: <p>We are using template editor in AEM 6.2 to create templates , and we have followed below steps to create a template-</p>
  
  <p>1.Created page template as done in we-retail site.
  2.Create empty page template using above page template.
  3.Created template using empty page template.</p>
  
  <p>Did following modifications on top of we retail page component as per our requirement-</p>
  
  <ol>
  <li><p>As we need to have header and footer as full width parsys i.e 1340 width and body as 940 width-</p>
  
  <p>
  .site-wrapper {
  width:1340px;
  }
  .container {
  width:940px;
  }
  </p></li>
  </ol>
  
  <p>So we did following modifications in /apps//components/structure/page/partials/body.html -</p>
  
  <pre><code>&lt;div class="site-wrapper"&gt;
  &lt;div  data-sly-resource="${ @ path='header', resourceType='/apps/&lt;projectname&gt;/components/structure/header'}" 
  data-sly-unwrap&gt;
  &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="container"
         data-sly-use.templatedContainer="com.day.cq.wcm.foundation.TemplatedContainer"&gt;
         &lt;sly data-sly-repeat="${templatedContainer.structureResources}"
            data-sly-resource="${item.path @ resourceType=item.resourceType, decorationTagName='div'}" /&gt;
      &lt;/div&gt;
      &lt;div class="site-wrapper"&gt;
      &lt;div  data-sly-resource="${ @ path='footer', resourceType='/apps/&lt;projectname&gt;/components/structure/footer'}" data-sly-unwrap&gt;&lt;/div&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>Also we have few more components which will take full width on the page so i have added responsivegrid component under full width div.</p>
  
  <p>But i am not able to edit the header and footer component in template as they are not under templateresource.</p>
  
  <p>Also even if i add design dialog under header and footer i am not able to edit those components directly on the page in design mode even if they are unlocked.</p>
  
  <p>Please let me know if i am doing anything wrong here or we cant customize body.html as in we-retail site.</p>
  
  <p>I thought of using different parsys for full width and for body.
  And i don't want to control using css as i have multiple components which are full width.</p>
  
  <p>Regards
  Ankur</p>