title: nested ui:repeat issue (or f:ajax)
body: <p>i have 2 ui:repeat nested like this:</p>
  
  <pre><code>&lt;ui:repeat var="father" value="#{miuchile3.getMenusPadre(miuchile3.keyModulo)}" &gt;
               &lt;li&gt;
  
                   &lt;h:commandLink value="#{father.nombre}"  action="#{miuchile3.setMenu(father)}"&gt;
                   &lt;f:ajax render=":menupags:menuDetalle" /&gt;
                   &lt;/h:commandLink&gt;
  
  
                   &lt;ul&gt;
                       &lt;ui:repeat var="submenu" value="#{miuchile3.getHijos(father.id)}" &gt;
                           &lt;li&gt;&lt;h:commandLink value="#{submenu.nombre}" actionListener="#{miuchile3.setMenu(submenu)}"&gt;
                              &lt;f:ajax  render=":menupags:menuDetalle" /&gt;
                           &lt;/h:commandLink&gt;&lt;/li&gt;
                       &lt;/ui:repeat&gt;
  
  
                   &lt;/ul&gt;
  
  
                 &lt;/li&gt;
  
  
  
                &lt;/ui:repeat&gt;
  </code></pre>
  
  <p>this generate a menu with this format</p>
  
  <ul>
  <li><p>father menu 1</p>
  
  <ul>
  <li>son menu_1 </li>
  <li>son menu_2</li>
  </ul></li>
  </ul>
  
  <hr>
  
  <ul>
  <li><p>father menu 2</p>
  
  <ul>
  <li>son menu2_1</li>
  <li>son menu2_2</li>
  <li>son menu2_3</li>
  </ul></li>
  </ul>
  
  <p>etc..</p>
  
  <p>when i click in this submenus i use f:ajax to render a panelgroup with details of the selected menus (it shows the pages associated to them), the problem is that it only works properly for father menu 1 and its submenus, but for father menu 2, it works ok for its 2 first submenus, if there is a third submenu associated to "father menu 2" and i click on it, it doesn't do anything.</p>
  
  <p>im not sure if it is a issue with the nested ui:repeat or with f:ajax, but i think ui:repeat stop working properly after the second iteration or something like that.. the "setMenu()" function (inside the nested ui:repeat) stop working for some reason. but it could be f:ajax too.. i dont really know.</p>
  
  <p>EDIT:</p>
  
  <p>now i found the issue but i dont know how to solve it yet.</p>
  
  <p>the problem is that for the first iteration (frist menu and its submenus) the method im calling in the action "setMenu()" works ok, but for the second iteration (father menu 2, and its submenus) the setMenu() method is called only 2 times, if there are more than 2 submenus, the method im calling in the action (setMenu())doesn't work, i mean the iteration works because it prints all the names of the menus and submenus , but the action after the first iteration only works for 2 submenus.</p>