title: Primefaces Dialog not updating
body: <p>I am facing issue in updating a primefaces dialog box</p>
  
  <p>Currently I am displaying a primefaces dialog box with some form elements in editable format.
  There are some output text fields available in a form with a change link available when clicked on the change link the output text fields should be displayed in editable format in a dialog box with accept and cancel buttons in it. </p>
  
  <p>Below is the code snippet which i am using i am calling a listener where i am setting the values to the properties to be displayed in the dialog box in editable format and each time I am updating the dialog box using 's render property.</p>
  
  <p>render=id of the dialog.</p>
  
  <p>Also when i am trying to update the contents inside the dialog box i am receiving some ajax error id not found.</p>
  
  <p>I also tried to put the dialog inside a panel even this was not working.</p>
  
  <p>
               
              </p>
  
  <p>
                  </p>
  
  <pre><code>            &lt;h:panelGrid columns="5" &gt;
              &lt;h:outputText value="Overrride State Date" /&gt;
              &lt;p:spacer width="5" height="5" /&gt;
              &lt;h:outputText value="Overrride End Date" /&gt;
              &lt;p:spacer width="5" height="5" /&gt;
              &lt;h:outputText value="New Value"/&gt;
              &lt;p:calendar value="#{certInquiry.ovrStartDt}" showOn="button"/&gt;
              &lt;p:spacer width="5" height="5" /&gt;
              &lt;p:calendar value="#{certInquiry.ovrEndDt}" showOn="button"/&gt;
              &lt;p:spacer width="5" height="5" /&gt;
              &lt;h:inputText value="#{certInquiry.newVal}"/&gt;
              &lt;/h:panelGrid&gt;  
              &lt;div align="center"&gt;
              &lt;p:commandButton value="Accept"
                  oncomplete="xyz.hide()" /&gt; &lt;p:spacer width="10"
                  height="5" /&gt; &lt;p:commandButton value="Cancel"
                  onclick="xyz.hide()" type="reset" /&gt;&lt;/div&gt;
  
                  &lt;/h:form&gt;
          &lt;/p:dialog&gt;
  </code></pre>
  
  <p>Here I am updating the dialog using render property of  but I am not able to update the dialog and its still showing the previous data when I refresh the screen the data is shown correctly.</p>
  
  <p>Please help me in solving this issue.</p>
  
  <p>Thanks in advance.</p>