You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Roger Kitain <Ro...@Sun.COM> on 2009/05/05 04:33:38 UTC

Re: h:head and h:body in JSF 2.0

Ganesh wrote:
> Hi,
>
> 3 more comments from Apache MyFaces development on the JSR 314 spec:
>
> [1] In the spec 2.6.2.1 h:head and h:body are silently indroduced as the
> JSF 2.0 way of rendering html head and body. It says >>The <h:head> and
> <h:body> tags refer to the renderers HeadRenderer and BodyRenderer
> respectively, described in Section 8.6 "Standard HTML RenderKit 
> Implementation".<<, but there the new renderers aren't mentioned at 
> all. Can you please insert a phrase or two on the usage of h:head and 
> h:body?
I'v modified verbae in this section as follows:

The <h:head> and <h:body> tags refer to the renderers HeadRenderer and 
BodyRenderer respectively. They are described in the Standard HTML 
Renderkit documentation referred to in Section 8.6 "Standard HTML 
RenderKit Implementation". During the rendering phase, the encode 
methods for these renderers render the HTML "head" and "body" elements 
respectively. Then they render all component resources under the facet 
child (named by target) under the UIViewRoot using the UIViewRoot 
component resource methods as described in Section 4.1.19.3 "Methods"
>