title: how to insert a nest tiles
body: <p>Hi:
  I know how to insert the attribut and defination in the jsp page,but I can not insert a nestly tiles.</p>
  
  <p>This is the exmaple:</p>
  
  <p></p>
  
  <pre><code>    &lt;definition name="/commonPage" template="/jsp/common/template.jsp"&gt;
          &lt;put-attribute name="header" value="/jsp/common/defaultHeader.jsp" /&gt;
          &lt;put-attribute name="menu" value="/jsp/common/defaultMenu.jsp" /&gt;
          &lt;put-attribute name="footer" value="/jsp/common/defaultFooter.jsp" /&gt;
      &lt;/definition&gt;
  
  
      &lt;definition name="/all" extends="/commonPage"&gt;
          &lt;put-attribute name="body" value="/jsp/all_body.jsp" /&gt;
          &lt;put-list-attribute name="scriptList"&gt;
              &lt;add-attribute value="/res/script/all.js" /&gt;
          &lt;/put-list-attribute&gt;
      &lt;/definition&gt;
  
      &lt;definition name="/time" extends="/commonPage"&gt;
          &lt;put-attribute name="timebar" value="/jsp/common/timebar.jsp" /&gt;
          &lt;put-attribute name="body" value="/jsp/time_body.jsp" /&gt;
          &lt;put-list-attribute name="scriptList"&gt;&lt;/put-list-attribute&gt;
      &lt;/definition&gt;
  
  &lt;/tiles-definitions&gt;
  </code></pre>
  
  <p>And in the tempalte.jsp:</p>
  
  <pre><code>....
  &lt;tiles:insertAttribute name="meun"&gt;
  ...
  &lt;tiles:insertAttribute name="footer"&gt;
  </code></pre>
  
  <p>Now,in the time_body.jsp,I want to insert another jsp -- timebar.jsp.</p>
  
  <p>So I define the attribute in the definition of "/time",however it does not work.</p>
  
  <p>This is the codes in the time_body.jsp:</p>
  
  <pre><code>&lt;div class="div_fullwidth"&gt;
      &lt;tiles:insertAttribute name="timebar" /&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Any ideas?</p>