title: How to invoke a command button without validating all required inputs?
body: <p>I'm trying to make a redirection from index.xhtml to registerFirstTime.xhtml.</p>
  
  <p>The code in the page index.xhtml is:</p>
  
  <pre><code>&lt;h:form id="content" style="margin-top: 1em;"&gt;
      &lt;p:panel id="panel" header="LOGIN"&gt;
          &lt;p:messages id="msgs" globalOnly="true"/&gt;
          &lt;h:panelGrid columns="3"&gt;
              &lt;h:outputLabel value="e-mail" /&gt;
              &lt;p:inputText id="name" required="true" value="#{UserBean.email}"
                  requiredMessage="Required: e-mail" display="icon"&gt;
              &lt;/p:inputText&gt;
              &lt;p:message id="msgName" for="name"/&gt;
              &lt;h:outputLabel value="Password" /&gt;
              &lt;p:password id="password" required="true" value="#{UserBean.password}"
                  requiredMessage="Required: Password" display="icon" feedback="false"&gt;
              &lt;/p:password&gt;
              &lt;p:message id="msgPassword" for="password"/&gt;
          &lt;/h:panelGrid&gt;
          &lt;h:panelGrid columns="2"&gt;
              &lt;p:commandButton value="Login" actionListener="#{UserBean.validate}" update="msgNombre, msgPassword, msgs"/&gt;
              &lt;h:commandButton value="Register for the first time" action="register"/&gt;
          &lt;/h:panelGrid&gt;
      &lt;/p:panel&gt;
  &lt;/h:form&gt;
  </code></pre>
  
  <p>While, the content of the redirection, in faces-config.xml, is:</p>
  
  <pre><code>&lt;navigation-rule&gt;
      &lt;from-view-id&gt;index.xhtml&lt;/from-view-id&gt;
      &lt;navigation-case&gt;
          &lt;from-outcome&gt;register&lt;/from-outcome&gt;
          &lt;to-view-id&gt;registerFirstTime.xhtml&lt;/to-view-id&gt;
      &lt;/navigation-case&gt;
  &lt;/navigation-rule&gt;
  </code></pre>
  
  <p>Until the input name and password are filled, you can't do the redirect.
  How I can get do the redirection of the record without taking into account the required fields? Thanks! =)</p>