title: How to update datatable in tab of accordion (primefaces)
body: <p>I have <em>Accordionpanel>Tab>DataTable</em>.If u click/select row in datatable,Showing a <em>dialog</em>.And if u close the dialog,I reset the selected row from managedbean(thats work). But I can't update the above datatable in <em>acc>tab</em>.
  <br><strong>code looks like this:</strong></p>
  
  <pre><code>    &lt;h:form id="alphabets"&gt;
      &lt;h4&gt;XYZ&lt;/h4&gt;
      &lt;p:accordionPanel id="acc" value="#{aMB.aList}"
          var="a" multiple="false" dynamic="true"&gt;
          &lt;p:tab title="#{a.name}"&gt;
              &lt;p:dataTable id="table_a" var="b"
                  value="#{a.Blist}" selectionMode="single"
                  selection="#{aMB.selectedA}" rowKey="#{b.id}"
                  rowIndexVar="count"&gt;
  
                  &lt;p:ajax event="rowSelect" update=":dialog_form:table_c"
                      onstart="PF('cDialog').show()" /&gt;
  
                  &lt;p:column style="width:40px !important;" headerText="id"
                      sortBy="#{count}"&gt;
                      &lt;h:outputText value="#{count+1}" /&gt;
                  &lt;/p:column&gt;
                  &lt;p:column headerText="Name:"&gt;
                      &lt;h:outputText value="#{b.name}" /&gt;
                  &lt;/p:column&gt;
              &lt;/p:dataTable&gt;
          &lt;/p:tab&gt;
      &lt;/p:accordionPanel&gt;
  &lt;/h:form&gt;
  &lt;h:form id="dialog_form"&gt;
      &lt;p:dialog header="xyz details" widgetVar="cDialog"
          closeOnEscape="true" showEffect="fade" hideEffect="fade"
          resizable="false"&gt;
          &lt;p:ajax event="close" listener="#{aMB.selectedReset}"
              update=":alphabets:acc:tab#{acc.activeIndex}" /&gt;
  
          &lt;p:dataTable id="table_c" var="c"
              value="#{aMB.selectedB.cList}" selectionMode="single"
              rowKey="#{c.id}"
              rowIndexVar="count"&gt;
  
              &lt;p:column style="width:40px !important;" headerText="id"
                  sortBy="#{count}"&gt;
                  &lt;h:outputText value="#{count+1}" /&gt;
              &lt;/p:column&gt;
              &lt;p:column headerText="Name"&gt;
                  &lt;h:outputText value="#{c.name}" /&gt;
              &lt;/p:column&gt;
          &lt;/p:dataTable&gt;
      &lt;/p:dialog&gt;
  &lt;/h:form&gt;
  </code></pre>
  
  <p><br>
  When I try to open this page,I am getting below error:</p>
  
  <blockquote>
    <p>javax.faces.FacesException: Cannot find component with expression ":alphabets:acc:tab" referenced from "dialog_form:j_id_b".</p>
  </blockquote>
  
  <p><em>So I cannot update this table from dialog.Does anyone have any idea or experience?Thanks in advance.</em></p>