JSF 2.0 has introduced a new feature, composite components. These are reusable JSF UI components that can be developed from a collection of other JSF UI components. Composite components do not require any Java code or XML configuration file. A composite component consists of a top-level
UIComponent and a tree (hierarchical structure) of
UIComponents within the top-level component.
Composite components are built using two other new features in JSF 2.0: Facelets and resources. A composite component is a Facelet markup file, which may include templating tags from the Facelets templating tag library in a resource library. The metadata for a composite component is defined using the composite component tag library ...