title: how to refresh datatable in JSf with session bean?
body: <p>I have a Session Managed Bean where I have a list that I show in datatable and when I click in button I change the list in the managed bean but the table didnt change in the JSF page :</p>
  
  <pre><code>&lt;p:commandButton id="someId" value="Button" action="#{gestionduplanning.exec2()}"&gt;
      &lt;f:ajax  render="koka"/&gt;
  &lt;/p:commandButton&gt; 
  
  &lt;p:dataTable id="koka" var="op" value="#{gestionduplanning.listop}" style="width: 700px;float: left;"&gt;
      &lt;p:column headerText ="operateur" style="width:50px;" &gt;       
          &lt;h:outputText value="#{op.operateur.matricule}"/&gt;
      &lt;/p:column&gt; 
  &lt;/p:dataTable&gt;
  </code></pre>
  
  <p>How can I update the table in JSF and I need to keep my managed bean as session bean?</p>