title: How to implement a navigation button in JSF 2.0 that doesnt do any validations of anything on the current page?
body: <p>I want to implement a navigation button that takes the user to another page. I have no desire or need for any validations to run nor for the model to be updated, etc. I have implemented this as an ajaxified client-side redirect (note, I am using Primefaces 3.2). </p>
  
  <p>It works-- <em>but is this the best way to do this?</em></p>
  
  <p>Navigating from the "onePage.xhtml" to the "anotherPage.xhtml"</p>
  
  <pre><code>onePage.xhtml:
  ...
  &lt;p:commandButton value="Navigate to Another Page" 
                   process="@this"/&gt;
                   action="anotherPage?faces-redirect=true" 
  
  ...
  </code></pre>
  
  <p>Note, I have tried using immediate="true", however Apply Request Values phase still runs, which results in a NPE for me in a getter in my managed bean (as I no longer have the data that my getter needs).</p>