I have written a PhaseListener in which I am checking for the Validations phase. Is there a way using which I can check in the afterPhase() method of listener that validation has failed and the next phase after the Validation phase will be Render Response phase.
I have written a PhaseListener in which I am checking for the Validations phase.
Share
How about using FacesContext, can you check if there are any enqueued messages? Eg.
hope that helps.