title: how to update datatable from managed bean jsf2 primefaces
body: <p>I want to update datatable from managedBean</p>
  
  <p>this datatable is inside <code>p:tab</code> inside <code>p:tabView</code> inside <code>h:form</code> inside <code>p:dialog</code></p>
  
  <p>I tested this : but it is not updated :</p>
  
  <pre><code>RequestContext.getCurrentInstance().update("tabView:lesarticles");
  </code></pre>
  
  <p>here is the dialog : </p>
  
  <pre><code>&lt;p:dialog id="dialogc" modal="true" header="Nouveau Article"
      widgetVar="dlgc"&gt;
  </code></pre>
  
  <p>and here is the form(inside dialog ) :</p>
  
  <pre><code>&lt;h:form prependId="false" id="formdialogc"&gt;
  </code></pre>
  
  <p>the tabView and datatable : </p>
  
  <pre><code>&lt;p:tabView id="tabView" style="font-size: 14px;"&gt;
  
              &lt;!-- ajouter elements --&gt;
              &lt;p:tab id="info_produit" title="Produits"&gt;
  
  
  
  &lt;p:dataTable id="lesarticles"  var="car" widgetVar="carsTable"
                      rowKey="#{car.ligneCommandeFournisseurId}"
                      value="#{commandeMB.commande.ligneCommandeFournisseurs}"&gt;
  </code></pre>
  
  <p>is there any way to resolve this problem</p>
  
  <p>thank you in advance</p>