facesdoc.HTML_BASIC.javax.faces.Outputjavax.faces.Body.html Maven / Gradle / Ivy
Show all versions of javax.faces-api Show documentation
component-family: javax.faces.Output renderer-type: javax.faces.Body
HTML_BASIC render-kit
component-family: javax.faces.Output renderer-type: javax.faces.Body
Render the markup for a
<body>
element.
Decode Behavior
No action is required during decode for this renderer.
Encode Behavior
Render the starting <body>
element tag. Just before rendering the
closing </body>
element tag, render any resources that have been targeted
for this "body" element:
- Obtain a
UIViewRoot
instance.
- Obtain a
List
of component resources targeted for
this "body" element with a call to
UIViewRoot.getComponentResources()
with the
String "body"
as the argument. Render the ending
</body>
element tag.
- Iterate over the returned
List
of UIComponent
instances
and call encodeAll
on each UIComponent
instance.
Any attributes declared on the element must be passed through
unmodified to the rendered output.
This renderer is not responsible for rendering its children.
Note:
Attributes with a pass-through
value of
true
are not interpreted by the renderer and are passed
straight through to the rendered markup, without checking for validity. Attributes with a
pass-through
value of false
are interpreted
by the renderer, and may or may not be checked for validity by the renderer.
Attributes
attribute-name
pass-through
attribute-class
description
default-value
dir
true
java.lang.String
Direction indication for text that does not inherit directionality.
Valid values are "LTR" (left-to-right) and "RTL" (right-to-left).
undefined
lang
true
java.lang.String
Code describing the language used in the generated markup
for this component.
undefined
onclick
true
java.lang.String
Javascript code executed when a pointer button is
clicked over this element.
undefined
ondblclick
true
java.lang.String
Javascript code executed when a pointer button is
double clicked over this element.
undefined
onkeydown
true
java.lang.String
Javascript code executed when a key is
pressed down over this element.
undefined
onkeypress
true
java.lang.String
Javascript code executed when a key is
pressed and released over this element.
undefined
onkeyup
true
java.lang.String
Javascript code executed when a key is
released over this element.
undefined
onload
true
java.lang.String
Javascript code executed when the user agent finishes loading
a window or all frames within a frameset.
undefined
onmousedown
true
java.lang.String
Javascript code executed when a pointer button is
pressed down over this element.
undefined
onmousemove
true
java.lang.String
Javascript code executed when a pointer button is
moved within this element.
undefined
onmouseout
true
java.lang.String
Javascript code executed when a pointer button is
moved away from this element.
undefined
onmouseover
true
java.lang.String
Javascript code executed when a pointer button is
moved onto this element.
undefined
onmouseup
true
java.lang.String
Javascript code executed when a pointer button is
released over this element.
undefined
onunload
true
java.lang.String
Javascript code executed when the user agent removes
a document from a window or frame.
undefined
style
true
java.lang.String
CSS style(s) to be applied when this component is rendered.
undefined
styleClass
false
java.lang.String
Space-separated list of CSS style class(es) to be applied when
this element is rendered. This value must be passed through
as the "class" attribute on generated markup.
undefined
title
true
java.lang.String
Advisory title information about markup elements generated
for this component.
undefined
xmlns
true
java.lang.String
An XML Namespace to be passed through to the rendered element
undefined
Copyright (c) 2003-2010 Oracle America, Inc. All Rights Reserved.