Render parameterized text. Obtain the
style
, styleClass
, dir
, and
lang
attributees from this component. If any are
present, render a "span" element. Output the
styleClass
attribute (if present) as the value of the
class
attribute. Output the style
attribute as the value of the style
attribute.
Output the dir
and lang
attributes as
pass through attributes. Accrue a list of the values of all child
UIParameter
components of this component. If there
are one or more accumulated parameter values, convert the list of
parameter values to an Object
array, call
MessageFormat.format()
, passing the
value
of this component as the first argument, and
the array of parameter values as the second argument, and render
the result. Otherwise, render the value
of this
component unmodified.
This renderer is responsible for rendering its children.
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 | |
escape
|
false | boolean |
Flag indicating that characters that are sensitive in HTML and XML markup must be escaped. This flag is set to "true" by default. | true | |
lang
|
true | java.lang.String |
Code describing the language used in the generated markup for this component. | 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 |