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 the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.