title: Adding one or more outputText to existing page dynamically
body: <p>I have a need to continuously update a page with new data produced by managedbeans. Managedbean creates a new List of values for every few minutes and UI must create a OutputText for each of the value in the newly created List by managedbean. Catch is, the UI should retain the outputTexts and add new one's for every request, it should not refresh/remove old outputTexts.</p>
  
  <p>My code is like below - updates the same outputText fields for each ajax call, which I need to change like mentioned above.</p>
  
  <pre><code>&lt;c:forEach var="data" items="#{myBean.dataList}"&gt;
      &lt;p:fieldset legend="#{data}" toggleable="true" toggleSpeed="500"&gt;
          &lt;h:panelGrid columns="2" cellpadding="5" border="0"&gt;
              &lt;p:scrollPanel style="height:300px"&gt;
                 &lt;p:poll interval="2" listener="#{myBean.getDataList}" update="field1 field2"/&gt;
                     &lt;h:outputText value="#{data.field1}" id="field1"/&gt;
                     &lt;h:outputText value="#{data.field2}" id="field2"/&gt;
              &lt;/p:scrollPanel&gt;
          &lt;/h:panelGrid&gt;
      &lt;/p:fieldset&gt;
   &lt;/c:forEach&gt;
  </code></pre>
  
  <p>so for each ajax call, there may be few data items produced by managedbeans and for each of those item there should be a new outputText field.</p>