Multiple choice technology web technology

What will you to reload the page after ValueChangeListener is invoked

  1. FacesContext.getCurrentInstance().getViewRoot()

  2. FacesContext.getCurrentInstance().responseComplete()

  3. FacesContext.getCurrentInstance().renderResponse()

  4. FacesContext.getCurrentInstance().release()

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The renderResponse() method on FacesContext tells JSF to skip to the Render Response phase of the lifecycle, effectively causing the page to be redisplayed. This is commonly used in value change listeners when you want to update the UI after a value change.