title: PrimeFaces RequestContext.getCurrentInstance().update() not working
body: <p>I use dialog framework of :</p>
  
  <blockquote>
    <p><a href="http://www.primefaces.org/showcase-labs/ui/dialogFrameworkData.jsf" rel="nofollow">http://www.primefaces.org/showcase-labs/ui/dialogFrameworkData.jsf</a></p>
  </blockquote>
  
  <p>I create a file view_test.xhtml </p>
  
  <pre><code>&lt;html  xmlns="http://www.w3.org/1999/xhtml"
  xmlns:h="http://java.sun.com/jsf/html"
  xmlns:f="http://java.sun.com/jsf/core"
  xmlns:ui="http://java.sun.com/jsf/facelets"
  xmlns:p="http://primefaces.org/ui" &gt;
  &lt;h:head&gt;
      &lt;title&gt;Dialogo Prueba&lt;/title&gt;
  &lt;/h:head&gt;
  &lt;h:body&gt;
      &lt;h:form id="idFormTest"&gt;
          &lt;h:panelGrid id="idPgAdressStore" columns="2" columnClasses="col1,col2"&gt;
          &lt;h:outputLabel for="idAdress" value="Adress: " /&gt;  
          &lt;p:inputText id="idAdress"  label="Adresss" size="40" value="#{storeBean.au.strAdress}"/&gt;
          &lt;f:facet name="footer"&gt;
              &lt;h:panelGrid width="100%" columns="2" style="text-align:center"&gt;
                  &lt;p:commandButton id="idBtSaveDir" value="Save" actionListener="#{storeBean.saveAdress}" /&gt;
                  &lt;p:commandButton id="idBtCancelDir" actionListener="#{storeBean.closeAdress}"  value="Cancel"/&gt;
              &lt;/h:panelGrid&gt;
          &lt;/f:facet&gt;
          &lt;/h:panelGrid&gt;
      &lt;/h:form&gt;
  &lt;/h:body&gt;
  </code></pre>
  
  <p></p>
  
  <p>this dialog is open of other form "idFormStore", when I click commandButton "idBtSaveDir" the method saveAdress is called and the value in idAdress is copied in other inputtext in idFormStore</p>
  
  <pre><code>public void saveAdress(ActionEvent event) {
      au.setAdressStore(au.getStrAdress());
      RequestContext.getCurrentInstance().update("idFormStore");
      RequestContext.getCurrentInstance().closeDialog("/pages/logistica/store/view_test");
  }
  </code></pre>
  
  <p>I am updating the form idFormStore, but it doesn't update
  RequestContext.getCurrentInstance().update("idFormStore") doesn't work,</p>
  
  <p>I also put the panelgrid where is the inputext and doesn't update, 
  RequestContext.getCurrentInstance().update("idFormStore:idPanelStore")</p>
  
  <p>but I reload all the page the value that I enter appear, so What is that I have to put in RequestContext.getCurrentInstance().update?</p>