title: Grid pagination breaks in loop
body: <p>I've observed weird (however most likely it's expected) issue with Tapestry Grid component. Question will come in the end, after longer explanation.</p>
  
  <p>When Grid is used inside of a loop, then pagination stops adding unique grid id to the pagination links. Simple example showing that behaviour</p>
  
  <pre><code>&lt;t:numbersgrid max="literal:6"/&gt;
  &lt;t:numbersgrid max="literal:6"/&gt;
  
  &lt;t:loop source="numbers" value="number" index="index"&gt;
      &lt;t:numbersgrid max="index"/&gt;
  &lt;/t:loop&gt;
  </code></pre>
  
  <p>First two numbersgrid components, get correct id. Pagination links are following <code>.../T5sample/about.numbersgrid.grid.pager/2</code> and <code>.../about.numbersgrid_0.grid.pager/2</code> which makes Grid behave correctly.
  All grids inside loop get links like <code>.../about.numbersgrid_1.grid.pager/2</code> which just does not work :/</p>
  
  <p>Simplifying code (read: in line numbers grid)</p>
  
  <pre><code>&lt;t:loop source="numbers" value="number" index="index"&gt;
  &lt;t:grid source="numbers" row="gridNumber" pagerPosition="bottom" rowsPerPage="2" t:add="number"&gt;
       &lt;p:numberCell&gt;
           ${number}
       &lt;/p:numberCell&gt;
   &lt;/t:grid&gt;
  </code></pre>
  
  <p></p>
  
  <p>does not help either. Effect is quite ... interesting, but that is just a good subject for another topic. </p>
  
  <p>Thing that I don't understand, is why it does not work. It should be possible, but I don't even know where to start searching. </p>
  
  <p><strong>Question</strong>: Is there any way in which I could make it work. Is it even possible to make a patch for T5 (local change, not even in main repo), that would hallow that to work?</p>
  
  <p>Thanks for any clues.</p>