If you want to use FacesContext, you will always have to use “PhaseAction”. If you don’t, your code will be executed very early in the request processing lifecycle, even before JSF starts its processing. “PhaseAction” basically just queues your operation and executes it within the faces lifecycle.
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.
Comments are closed.
Get updates from OCPSoft
If you find our tools useful, please consider making a donation to help us stay online and building software!