Java Reference
In-Depth Information
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 com-
ponent. 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
Attributes of a Composite Component
You define an attribute of a composite component by using the
compos-
ite:attribute
tag.
Table 5-1
lists the commonly used attributes of this tag.