title: apache tiles creates multiple ids
body: <p>I am creating java web application using spring mvc and apache tiles. I have a problem with the HTML-element-ids of the elements in the page.<br>
  Because I am using tiles, I have a layout and two containers  - a places where I can put my content according the user request. This is my layout:</p>
  
  <pre><code>&lt;%@ page contentType="text/html;charset=UTF-8" language="java" %&gt;
  &lt;%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %&gt;
  &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE html&gt;
  
  &lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;tiles:insertAttribute name="container1"/&gt;
      &lt;tiles:insertAttribute name="container2"/&gt;
  &lt;/body&gt;
  &lt;/html&gt; 
  </code></pre>
  
  <p>Assume I have a content.jsp page with input elements:</p>
  
  <pre><code>&lt;input type="text" name="abc" id="abcInput" /&gt;
  &lt;input type="text" name="def" id="defInput" /&gt;
  </code></pre>
  
  <p>Now I want to use content.jsp both for container1 and container2. The problem is that that way I will get a page with duplicate Ids: abcInput and defInput will appear twice in the page. Is there a way to control on the ids?</p>