The fragment
tag is identical to the component
tag, except
that ui:fragment
, unlike
ui:component
, Faces does not disregard all content
outside of the 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 section 3.1.5 "Component Bindings" of the Jakarta Faces Specification Document.
The
Java language type of this property must be a class that extends
|
rendered | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String )
|
Controls whether the fragment 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 fragment is not rendered in the page. |