O'Reilly logo

JavaServer® Faces 2.0: Essential Guide for Developers by Deepak Vohra

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 4CREATING COMPOSITE COMPONENTS

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required