title: How to update via RequestContext
body: <p>I am trying to update a table by using  RequestContext.update()
  The following code is working (jsf):</p>
  
  <pre><code>&lt;h:panelGrid columns="2" style="width: 100%" columnClasses="treeColumn,tableColumn"&gt;
          &lt;h:panelGroup id="treePanel"&gt;
              &lt;p:tree id="tree" 
                      value="#{bean.root}" 
                      var="node" 
                      dynamic="true"
                      cache="true"
                      animate="true"
                      selectionMode="single"
                      selection="#{bean.selectedNode}"
                      rendered="#{bean.renderTree}"&gt; 
                  &lt;p:ajax event="select" listener="#{bean.onNodeSelect}" update=":mainForm:treePanel,:mainForm:tablePanel"/&gt;
                  &lt;p:ajax event="collapse" listener="#{bean.onNodeCollapse}"/&gt;
                  &lt;p:treeNode expandedIcon="ui-icon-folder-open"  
                              collapsedIcon="ui-icon-folder-collapsed"&gt;  
                      &lt;h:outputText value="#{node.name}" styleClass="tableTreeText"/&gt;  
                  &lt;/p:treeNode&gt; 
                   &lt;p:treeNode expandedIcon="ui-icon-folder-open"  
                               collapsedIcon="ui-icon-folder-collapsed"&gt;  
                      &lt;h:outputText value="#{node.name}" styleClass="tableTreeText"/&gt;  
                  &lt;/p:treeNode&gt; 
              &lt;/p:tree&gt; 
          &lt;/h:panelGroup&gt;
          &lt;h:panelGroup id="tablePanel" styleClass="acqPanelTable"&gt;
              &lt;p:dataTable id="acqDataTable"
                           widgetVar="acqTablehdsWidget"
                           var="acq"
                           value="#{bean.list}" 
                           rendered="#{bean.renderTable}"
                           filteredValue="#{bean.filteredList}"
                           paginator="true"
                           paginatorPosition="bottom"
  
       .....
       ....
       ...
       ..
       .
  </code></pre>
  
  <p>But not via the server side:</p>
  
  <pre><code> RequestContext requestContext = RequestContext.getCurrentInstance();
   requestContext.update(":mainForm:tablePanel");
   renderTable = true;
  </code></pre>
  
  <p>I don’t understand what is the different ?</p>
  
  <p>Appreciate your help for any advice </p>
  
  <p>Thanks</p>