1Z0-900 practice question 1 of 25

When handling a JSF request, your application code decided to redirect the call to another URL by using HTTP redirect. Which action should you take to correctly complete the handling of the JSF life cycle?

Full set: 142 questions
Answer options
A: Set the immediate=“true” attribute on the command button that was used to perform this call.
B: Invoke the dispatch() method on the ExternalContext object.
C: Invoke the setCurrentPhaseId(RENDER_RESPONSE) method on the FacesContext object. Correct answer
D: Invoke the responseComplete() method on the FacesContext object.
Correct Answer:
C. Invoke the setCurrentPhaseId(RENDER_RESPONSE) method on the FacesContext object.
Explanation

:

Scroll to Top