title: Multiple use of a custom component containing a zone
body: <p>I'm facing a problem when using tapestry 5.2.0 : using multiple times a component containing a zone.</p>
  
  <p>At this point, the component is used 3 times on the same page but only one instance is working well. The tml associated to the component looks this way :</p>
  
  <pre><code>&lt;t:container xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"&gt;
      &lt;t:zone t:id="myZoneId"&gt;
          &lt;!-- component's zone content goes there --&gt;
      &lt;/t:zone&gt;
  &lt;/t:container&gt;
  </code></pre>
  
  <p>The cause of this problem is very simple, as we can see, if we use this component multiple times on the same page, then the zone id will not be unique, and multiple zones with the same id will be present in the page.</p>
  
  <p>Now here's my question : what approach can be used in order to make the zone id in the component unique, whenever the component is used once or several times and without using the zone outside of the container.</p>
  
  <p>Thank you in advance for your ideas.</p>