title: How to Update outputpanel from commandbutton which is inside the datatable using primefaces
body: <pre><code>Commandbutton with id("myButtonId2") works fine. I mean it updates "myOutputPanel" 
  </code></pre>
  
  <p>but commandbutton(myButtonId) which is inside datatable doesn't update outputPanel. I found the suggestions and tried with the following,
      update=":myForm:myOutputPanel"
      update="@myForm"
      update=":myOutputPanel"<br>
      But none of them worked...</p>
  
  <pre><code>Here is the snippet...
   &lt;h:form id="myForm" prependId="false"&gt;
        &lt;p:panel id="myPanel"&gt;
           &lt;p:dataTable id="myDatatable"&gt;
              &lt;p:column style="width:4%"&gt;  
                &lt;p:commandButton id="myButtonId" actionListener="#{bean.showPanel}" update="myOutputPanel"/&gt;
              &lt;/p:column&gt;
           &lt;/p:dataTable&gt;
           &lt;p:commandButton id="myButtonId2" update="myOutputPanel"/&gt;
          &lt;/p:panel&gt;
  
       &lt;p:outputPanel id="myOutputPanel" rendered="#{bean.show}"&gt;
        //some stuff
       &lt;/p:outputPanel&gt;
  </code></pre>