This tag is the same as
ui:composition
, except for two things: Faces creates a
component and adds it directly to the tree, and there's no associated
template.
Use this tag to create a component and
specify a filename for the component as either the source of a
ui:include
, or the source of a Facelets tag.
Name | Required | Type | Description |
---|---|---|---|
id | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
|
The identifier of the component that Faces inserts into the component tree. If an identifier is not explicitly specified by the page author, Faces will assign an identifier based on the algorithm that it uses for all components. |
binding | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
|
Binds the component to a backing bean property, as specified in
the Faces specification. The
Java language type of this property must be a class that extends
|
rendered | false | jakarta.el.ValueExpression
(must evaluate to boolean )
|
Controls whether the component is rendered. Valid values for this attribute are either the strings "true" or "false" or an EL expression that evaluates to either "true" or "false". If this attribute's value is "false" or the value is an EL expression that evaluates to "false", the component is not rendered in the page. |