title: updating components on different page in primefaces 3.x
body: <p>I am currently migrating our app from primefaces 2.21 to 3.2. i am aware that there are many new changes with 3.2. I am trying to update a dialog with ajax request like below.</p>
  
  <pre><code>   &lt;ui:composition xmlns="http://www.w3.org/1999/xhtml"
      //namespaces
     template="MainTemplate.xhtml"&gt;
     &lt;ui:include src="dlgpath"/&gt;
     &lt;h:form id="formId"&gt;
     &lt;p:datatable id="tab1"&gt;
       &lt;p:column&gt; 
       &lt;p:commandButton id="mdf" value="modify" oncomplete="dlg.show();"         
      update="dlgfrmid"/&gt;
       &lt;/p:column&gt;
     &lt;/datatable&gt;
      &lt;/h:form&gt;
  </code></pre>
  
  <p>below is the code for the dialog</p>
  
  <pre><code>    &lt;p:dialog  widgetVar="dlg"&gt;
        &lt;h:form id="dlgfrmid"&gt;
        &lt;p:panelGrid id="gridId"&gt; &lt;/p:panelGrid&gt;
        &lt;p:commandButton&gt;&lt;/p:commandButton&gt;
        &lt;/h:form&gt;
         &lt;/p:dialog&gt;
  </code></pre>
  
  <p>i am getting the "infamous" Cannot find component with identifier "dlgfrmid" in the view error message
  i have done a lot of search, can some one help me understand the concept of component referencing in PF 3.x ...</p>
  
  <p>thanks 
  any help appreciated</p>