title: Richfaces: rendered condition and bean with request scope
body: <p><strong>Why my jsf does can not execute a action doAction1,my action showPanel set showPanel = true???,</strong></p>
  
  <pre><code> &lt;h:form&gt;
     &lt;h1&gt; JSF do not post a "execute doAction1"&lt;/h1&gt;
              &lt;a4j:commandButton action="#{sample.showPanel}" value="Show Panel"
                  reRender="MyPanelShow"&gt;&lt;/a4j:commandButton&gt;
  
              &lt;a4j:outputPanel id="MyPanelShow" &gt;
  
  
                  &lt;rich:panel rendered="#{sample.showPanel}" id="panel1"&gt;
                      &lt;h:inputText value="#{sample.name}" id="input1"&gt;&lt;/h:inputText&gt;
                      &lt;a4j:commandButton value="Ejecutar" action="#{sample.doAction1}"
                          reRender="MyPanelShow" id="action1"&gt;&lt;/a4j:commandButton&gt;
                  &lt;/rich:panel&gt;
  
  
              &lt;/a4j:outputPanel&gt;
  
          &lt;/h:form&gt;
  
   &lt;!-- Backing Bean--&gt;
  
      package py.com.roshka.jrey.uifrw.web;
  
      import java.io.Serializable;
  
     public class SampleBean implements Serializable{
  private String name;
  private boolean showPanel = false;
  
  public String doAction1() {
  
      name = name + " Ok";
      return null;
  }
  
  public String showPanel() {
      showPanel = true;
      return null;
  
  }
  
  /**
   * @return the name
   */
  public String getName() {
      return name;
  }
  
  /**
   * @param name
   *            the name to set
   */
  public void setName(String name) {
      this.name = name;
  }
  
  /**
   * @return the showPanel
   */
  public boolean isShowPanel() {
      return showPanel;
  }
  
  /**
   * @param showPanel
   *            the showPanel to set
   */
  public void setShowPanel(boolean showPanel) {
      this.showPanel = showPanel;
  }
  
  }
  </code></pre>