title: Inserting multiple datas in 1 entity in a page
body: <p>i have a CRUD generated create form:</p>
  
  <pre><code>&lt;div class="create-form"&gt;
      &lt;h:form&gt;
          &lt;h:inputText id="name" value="#{pointController.selected.name}" title="#{bundle.CreatePointTitle_name}" required="true" /&gt;
  
          &lt;h:inputText id="term" value="#{pointController.selected.term}" title="#{bundle.CreatePointTitle_term}" required="true" /&gt;
  
          &lt;p:commandButton styleClass="btn" action="#{pointController.create}" value="#{bundle.CreatePointSaveLink}" /&gt;
      &lt;/h:form&gt;
  &lt;/div&gt;
  &lt;button&gt;add new form&lt;/button&gt;
  </code></pre>
  
  <p>i have a button that if clicked it will create another form same as above using javascript. (2 inputText, name and term)</p>
  
  <p>my goal is, with 2 or more forms, depending how many forms the user wants, with 1 commandButton that is clicked it will insert everything in the database.</p>
  
  <p>example:</p>
  
  <pre><code>first form: name = first form test, term = first form testterm
  2nd form: name = 2nd form test, term= 2nd form testterm
  </code></pre>
  
  <p>after clicking the command button</p>
  
  <p>2 rows will be inserted in the same table in the database.</p>
  
  <p>but i'm not sure what would be the structure for page for this.</p>