facesdoc.HTML_BASIC.javax.faces.Paneljavax.faces.Group.html Maven / Gradle / Ivy
Show all versions of javax.faces-api Show documentation
component-family: javax.faces.Panel renderer-type: javax.faces.Group
HTML_BASIC render-kit
component-family: javax.faces.Panel renderer-type: javax.faces.Group
Intended for use in situations when only one
UIComponent child can be nested, such as in the case of facets.
If the "style" or "styleClass" attributes are present, and the "layout"
attribute is present with a value of "block", render a "div" element,
outputting the value of the "style" attribute as the value of the
"style" attribute and the value of the "styleClass" attribute as the
value of the "class" attribute. Otherwise, if the "layout" attribute
is not present, or the "layout" attribute contains a value other than
"block", render a "span" element, outputting the value of the
"style" attribute as the value of the "style" attribute, and the value
of the "styleClass" attribute as the value of the "class"
attribute.
This renderer is 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
layout
false
java.lang.String
The type of layout markup to use when rendering this group.
If the value is "block" the renderer must produce an HTML
"div" element. Otherwise HTML "span" element must
be produced.
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" property on generated markup.
undefined
Copyright (c) 2003-2010 Oracle America, Inc. All Rights Reserved.