title: RequestContext won't work
body: <p>I am having trouble to update the view from the bean in the back using PrimeFaces's <code>RequestContext</code>. In the example below I have a button and 2 panels. When pressing the button, I want to update one panel, but not the other one.
  It does not work though and I can't find the error! <code>requestContext.update("panela");</code> is fired, but doesn't do its job!
  Help greatly appreciated!</p>
  
  <p>The XHTML file:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html xmlns="http://www.w3c.org/1999/xhtml"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:p="http://primefaces.org/ui"
        xmlns:f="http://xmlns.jcp.org/jsf/core"&gt;
      &lt;h:head/&gt;
      &lt;h:body&gt;
          &lt;h:form&gt;
              &lt;p:panelGrid columns="1"&gt;
                  &lt;p:commandButton value="Save" actionListener="#{runtimeUpdatesBean.save}" /&gt;
                  &lt;p:panel id="panela"&gt;
                      &lt;h:outputText value="#{runtimeUpdatesBean.texta}"/&gt;
                  &lt;/p:panel&gt;
                  &lt;p:panel id="panelb"&gt;
                      &lt;h:outputText value="#{runtimeUpdatesBean.textb}"/&gt;
                  &lt;/p:panel&gt;
              &lt;/p:panelGrid&gt;
          &lt;/h:form&gt;
      &lt;/h:body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>The bean:</p>
  
  <pre><code>package com.glasses.primework;
  
  import javax.faces.bean.ManagedBean;
  import javax.faces.bean.SessionScoped;
  import org.primefaces.context.RequestContext;
  
  @ManagedBean
  @SessionScoped
  public class RuntimeUpdatesBean {
      private String texta;
      private String textb;
      private boolean outcome;
  
      public String getTexta() {
          texta += "a";
          System.out.println("RuntimeUpdatesBean.getTexta() = " + texta);
          return texta;
      }
  
      public String getTextb() {
          textb += "b";
          System.out.println("RuntimeUpdatesBean.getTextb() = " + textb);
          return textb;
      }
  
      public void save() {
          RequestContext requestContext = RequestContext.getCurrentInstance();
  
          if(outcome) {
              System.out.println("RuntimeUpdatesBean.save() = update panela");
              requestContext.update("panela");
              outcome = false;
          } else {
              System.out.println("RuntimeUpdatesBean.save() = update panelb");
              requestContext.update("panelb");
              outcome = true;
          }
      }
  }
  </code></pre>