title: Tiles2 - Multiple Inheritance
body: <p>I'm trying to set my tiles in a way that I have an inner template in a template. I can load the inner template but I can't load the innermost jsp files (accountContent). Below are my files snippet. The accountContent attribute jsps are just simple text </p>
  
  <p>tiles.xml</p>
  
  <pre><code>&lt;definition name="main-layout" template="/WEB-INF/jsp/cmsPages/main-layout.jsp"&gt;
      &lt;put-attribute name="content" value="" /&gt;
  &lt;/definition&gt;
  &lt;definition name="main-account" extends="main-layout"&gt;
      &lt;put-attribute name="content" value="/WEB-INF/jsp/cmsPages/main-account.jsp" /&gt;
      &lt;put-attribute name="accountContent" value=""/&gt;
  &lt;/definition&gt;
  &lt;definition name="main-account-siteList" extends="main-account"&gt;
      &lt;put-attribute name="accountContent" value="/WEB-INF/jsp/cmsPages/main-account-siteList.jsp" /&gt;
  &lt;/definition&gt;
  &lt;definition name="main-account-userList" extends="main-layout"&gt;
      &lt;put-attribute name="content" value="/WEB-INF/jsp/cmsPages/main-account.jsp" /&gt;
      &lt;put-attribute name="accountContent" value="/WEB-INF/jsp/cmsPages/main-account-userList.jsp" /&gt;
  &lt;/definition&gt;
  </code></pre>
  
  <p>main-layout.jsp</p>
  
  <pre><code>&lt;s:div class="inner"&gt;
      &lt;tiles:insertAttribute name="content" ignore="true" /&gt;
  &lt;/s:div&gt;
  </code></pre>
  
  <p>main-account.jsp</p>
  
  <pre><code>&lt;s:div class="account-content"&gt;
      aaaaa
      &lt;tiles:insertAttribute name="accountContent" ignore="true" /&gt;
  &lt;/s:div&gt;
  </code></pre>
  
  <p>Eveytime I try to call the struts action for the tiles the accountContent is just empty. What am I doing wrong here?</p>
  
  <p>EDIT:
  Additional notes.
  Tiles main-account-siteList and main-account-userList are the tiles that I'm calling. I'm trying them at the same time to test different setups</p>
  
  <p>Edit2:
  added  in main-account</p>