Render Response

In the phase, the component tree is rendered. The specification only defines the behavior for the JSP presentation layer an leaves the details up to the implementation for other presentation layer technologies. For the JSP layer, the JSP page is processed. If this is the first time the view is rendered, the JSF action elements in the page creates and configures the components they represent and ask them to render themselves by calling the encoding methods; otherwise the components are just asked to render themselves. The components’ saveState() method may be called in this phase and the state for the complete tree included in the response—for example, as hidden fields in each HTML form.

Get JavaServer Faces now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.