title: For each operator in Thymeleaf
body: <p>I can not find syntax for building simple for-each-loop in <code>Thymeleaf</code> template.
  I'm not satisfied with just <code>th:each=&quot;&quot;</code> attribute, because it copies the tag in which it's located.</p>
  <p>What I'm looking for is something like:</p>
  <pre><code>&lt;th:foreach th:each=&quot;...&quot;&gt;
  ...block to be repeated...
  &lt;/th&gt;
  </code></pre>
  <p>what is an analogue of <code>&lt;c:forEach items=&quot;...&quot; var=&quot;...&quot;&gt;</code> or <code>&lt;t:loop source=&quot;...&quot; value=&quot;...&quot;&gt;</code> in <code>Tapestry</code>. Is anything similar for that?</p>