O'Reilly logo

The Java EE 6 Tutorial: Advanced Topics, Fourth Edition by Ricardo Cervera-Navarro, William Markito, Devika Gollapudi, Ian Evans, Eric Jendrock, Kim Haase, Chinmayee Srivathsa

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

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