Chapter 5. Composite Components: Advanced Topics and Example

This chapter describes the advanced features of composite components in JavaServer Faces technology.

A composite component is a special type of JavaServer Faces template that acts as a component. If you are new to composite components, see “Composite Components” in The Java EE 6 Tutorial: Basic Concepts before you proceed with this chapter.

The following topics are addressed here:

• “Attributes of a Composite Component” on page 87

• “Invoking a Managed Bean” on page 88

• “Validating Composite Component Values” on page 89

• “The compositecomponentlogin Example Application” on page 89

Attributes of a Composite Component

You define an attribute of a composite component by using the composite:attribute ...

Get The Java EE 6 Tutorial: Advanced Topics, Fourth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.