title: Close all expanded rows inside a ui:repeat
body: <p>I have a ui:repeat of auction items inside a table. It is a regular html table because when you click on a Bid commandLink a row opens right under the selected auction item, and displays a bidding component. The Bid commandLink is using ajax like this: </p>
  
  <pre><code>&lt;f:ajax listener="#{bean.addBidView(lot)}" render="bidView" /&gt;
  </code></pre>
  
  <p>addBidView is updating a map of auctionItems and that's how the correct selected row opens up. When the user clicks on the same Bid link again, the addBidView figures it out and closes the bidding component. </p>
  
  <p>Now let's say the user clicks on several rows, and thus opens several bidding components. They all open, but only one is active. So here's my question: how do I get the entire loop to render when I use the above ajax, so that opening a bidding component would automatically close the other open ones. (the auction items map is reflecting the correct bidding component, but only this one bidding area is rendered, so the others aren't effected. If I'm refreshing the whole page, the display is correct, and the problem only exists when I'm using ajax.) </p>
  
  <p>This is the structure of the elements on the page (all this is inside an h:form:) </p>
  
  <pre><code>&lt;table id="bidstable"&gt;
      &lt;h:panelGroup id="entireLoop"&gt;
          &lt;ui:repeat id="repeatAuctionItems" var="auctionItem" varStatus="status" value="#{bean.auctionItems}"&gt;
              &lt;td&gt;... a bunch of td's with the auction item values ... and then: 
                  &lt;h:commandLink id="bid" rendered="#{some conditions}"&gt;
                      &lt;f:ajax listener="#{bean.addBidView(auctionItem)}" render="bidView"/&gt;
                  &lt;/h:commandLink&gt;
              &lt;/td&gt;
          &lt;/ui:repeat&gt;
      &lt;/h:panelGroup&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>I tried pretty much every combination of elements in the "render" -- for example:</p>
  
  <pre><code>render="bidView bidsTable"
  </code></pre>
  
  <p>or
          render="bidView bidsTable:entireLoop:repeateAuctionItems"</p>
  
  <p>and every other trail I can think of. Nothing works. Any ideas? </p>