Details
Description
From Bauke Scholtz
Trigger:
http://stackoverflow.com/q/28901284
Code:
<h:commandLink action="#
">
<f:ajax listener="#
" />
</h:commandLink>
Mojarra:
Listener is first invoked and then action.
MyFaces:
Action is first invoked and then listener.
Who's correct? I couldn't find this in the spec. We need to align out it. As the action is supposed to be definitive (because of the navigation case outcome), I find Mojarra behavior is correct.
It looks like an exception to the general rule (decode and then decode client behaviors), so we need to decode, decode client behaviors and queue ActionEvent at last.