title: Conditional navigation in JSF2.0
body: <p>Is it possible to do conditional navigation in JSF2.0 using navigation-rule in faces-config 2.0 ??<br>
  For Example - </p>
  
  <pre><code>&lt;navigation-rule&gt;
      &lt;from-view-id&gt;/payeeSearch.xhtml&lt;/from-view-id&gt;
      &lt;navigation-case&gt;
          &lt;from-outcome&gt;details&lt;/from-outcome&gt;
          &lt;if&gt;#{payeeParticularsController.selectedFolioNo != null}&lt;/if&gt;
          &lt;to-view-id&gt;/payeeParticulars.xhtml&lt;/to-view-id&gt;
      &lt;/navigation-case&gt;
  &lt;/navigation-rule&gt;
  </code></pre>