title: input binding in ui:repeat in jsf
body: <p>i am using facelets jsf 2.0 with primefaces 3.0.M2 component library.
  i am trying to achieve dynamic numbers of rows including iput fields  that are filled when a datatable selection occurs.</p>
  
  <p>whenever a selection is made the dynamic rows generated correctly with input fields but after the first selection for following selections dynamic row count changes correctly but the input fields does not update and keeps showing inputs from  the first selection.</p>
  
  <p>here is how i iterate list in facelet;</p>
  
  <pre><code>&lt;ui:repeat value="#{goalEntranceBean.selectedCard.parameterList}" var="prmBean" &gt;
          &lt;li&gt;&lt;h:outputText value="#{prmBean.lookUp.value}"/&gt;&lt;/li&gt;
          &lt;li&gt;
  
              &lt;h:outputText value="Weight:"/&gt;
              &lt;p:inputText id="wx" required="true" value="#{prmBean.weight}"&gt;
              &lt;/p:inputText&gt;
              &lt;h:outputText value="Percent:"/&gt;
              &lt;p:inputText required="true" value="#{prmBean.percent}"&gt;
              &lt;/p:inputText&gt;
          &lt;/li&gt;
  
      &lt;/ui:repeat&gt;
  </code></pre>
  
  <p>my bean where i get the list of cards and set the selectedCard with rowSelect event in datatable.</p>
  
  <pre><code>@ManagedBean(name = "goalEntranceBean")
  @ViewScoped
  public class GoalEntranceAction implements Serializable {
  
  private List&lt;ScoreCard&gt; personalCards = new ArrayList&lt;ScoreCard&gt;();
  
      private ScoreCard selectedCard = new ScoreCard();
  ......
  }
  </code></pre>
  
  <p>when i checked in debug mode i can see the true list but in screen the elements does not change.</p>