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 same button tag.
For instance, I can have:
<h:button value="Go" outcome="<value>" />
or
<h:button value="Go" action="<value>" />
I'm not sure when to use which one. Also, does it make a difference if <value>
is <#{bean.methodThatReturnsStringInNavigationRule}>
or <string literal in navigation rule>
?
Thank you.