f:phaseListenerf:phaseListener enables the possibility of adding a PhaseListener as part of the UIViewRoot. Notice that this method differs from the
faces-config.xmlmethod as the latter applies from the beginning, and this only applies when the tag is being rendered.
typefor setting the class name that implements PhaseListener, or use
bindingto use an EL expression that evaluates to a PhaseListener. In the example below, you can see that more phases apply from PhaseListener when doing the postback, as at that moment the tag was applied and PhaseListener ready.
Liferay Faces Alloy 3.0.0 + Liferay Faces Bridge Implementation 4.0.0 + Showcase Common 3.0.0 + Liferay Faces Util 3.0.0 + Mojarra 2.2.13