title: PrimeFaces commandButton doesn't navigate
body: <p>I have this code :</p>
  
  <p>Add.xhtml :</p>
  
  <pre><code>&lt;h:form id="nouv"&gt;
      &lt;h:panelGrid columns="2"&gt; 
          &lt;h:outputText value="Nom:"&gt;&lt;/h:outputText&gt;
          &lt;p:inputText value="#{ddeBean.nom}"&gt;&lt;/p:inputText&gt;
          &lt;p:commandButton  id="save"
                  value="ajouter"    
                  update=":nouv:btn"                         
                  actionListener="#{ddeBean.ajouter}"&gt;
          &lt;/p:commandButton&gt;
  
          &lt;p:outputPanel id="btn"&gt; 
              &lt;h:outputText rendered="#{ddeBean.created}" value="#{ddeBean.message}"/&gt;
              &lt;p:commandButton id="btn_cr" value="add" rendered="#{ddeBean.created}" 
                      action="pool.xhtml?faces-redirect=true"&gt;
              &lt;/p:commandButton&gt;
          &lt;/p:outputPanel&gt;
      &lt;/h:panelGrid&gt;
  &lt;/h:form&gt;
  </code></pre>
  
  <p>ddeBean.java :</p>
  
  <pre><code>@ManagedBean(name = "ddeBean")
  @RequestScoped
  public class DemandeBean implements Serializable{
      ddeDAO dao = new ddeDaoImpl();
      private String nom;
      public String message = "";
      private boolean created = false;
  
      public void test(ActionEvent event){
          Demande p = new Demande();
          p.setDde(this.nom);
          dao.Nouveau_dde(p);
          created = true;
          this.setMessage("saved!");
      }
  }
  </code></pre>
  
  <p>When I click commandButton <strong>Ajouter</strong> the message an the commandbutton <strong>Add</strong> will be shown, but commandbutton <strong>Add</strong> doesn't redirect to <code>pool.xhtml</code>.</p>