Alloy Showcase
f:viewAction
Since JSF 2.2, you can invoke anaction
or actionListener
, passing through the JSF phases using f:viewAction.
General Usage
It's possible to choose this method to be executed during non-JSF request (GET) or in a postBack, usingpostBack
attribute. Another useful attribute could be phase
, as there you can specify which JSF PhaseId you want that method to be invoked on.
View action was executed in phase UPDATE_MODEL_VALUES 4
Source Code
Liferay Faces Alloy 4.1.1 + Liferay Faces Bridge Implementation 5.0.0 + Showcase Common 4.0.0 + Liferay Faces Util 3.4.1 + Mojarra 2.2.20