title: JSF Action vs Outcome Attribute
body: <p>I'm new to JSF and am trying to understand what the difference is between the action vs the outcome attributes?  This is not the difference between buttons and command buttons, but between outcome vs action attributes on the <strong>same</strong> button tag.</p>
  
  <p>For instance, I can have:</p>
  
  <pre><code>&lt;h:button value="Go" outcome="&lt;value&gt;" /&gt;
  </code></pre>
  
  <p>or</p>
  
  <pre><code>&lt;h:button value="Go" action="&lt;value&gt;" /&gt;
  </code></pre>
  
  <p>I'm not sure when to use which one.  Also, does it make a difference if <code>&lt;value&gt;</code> is <code>&lt;#{bean.methodThatReturnsStringInNavigationRule}&gt;</code> or <code>&lt;string literal in navigation rule&gt;</code>?</p>
  
  <p>Thank you.</p>