title: Propagating a Tiles attribute down the include chain
body: <p>I'm using Tiles and I'd like an attribute defined for a page to be readable inside of one of the included subpages as follows:</p>
  
  <p><code>tiles-definitions.xml</code>:</p>
  
  <pre><code>&lt;definition name="page" template="/WEB-INF/tiles/layout/page.jsp"&gt;
    &lt;put-attribute name="header" value="/WEB-INF/jsp/_include/header.jsp"/&gt;
    &lt;put-attribute name="footer" value="/WEB-INF/jsp/_include/footer.jsp"/&gt;
  &lt;/definition&gt;
  
  &lt;definition name="tutorial" extends="page"&gt;
    &lt;put-attribute name="title" value="Tutorial"/&gt;
    &lt;put-attribute name="body" value="/WEB-INF/jsp/tutorial.jsp"/&gt;
  &lt;/definition&gt;
  </code></pre>
  
  <p>The <code>page.jsp</code> represents a simple page structure:</p>
  
  <pre><code>&lt;html&gt;
    &lt;head&gt;&lt;title&gt;&lt;tiles:getAsString name="title"/&gt;&lt;/title&gt;&lt;/head&gt;
    &lt;body&gt;
        &lt;tiles:insertAttribute name="header"/&gt;
        &lt;tiles:insertAttribute name="body"/&gt;
        &lt;tiles:insertAttribute name="footer"/&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I'm trying to read the title also inside the "header" subpage but I get the following error:</p>
  
  <blockquote>
    <p>org.apache.tiles.template.NoSuchAttributeException: Attribute 'title' not found.</p>
  </blockquote>
  
  <p>Here is how I'm trying to access the attribute in header.jsp:</p>
  
  <pre><code>&lt;tiles:getAsString name="title"/&gt;
  </code></pre>