One of the goals of the Facelets view definition framework is to simplify designing composite views in a JSF application. The Composite View design pattern is an approach to user interface development that encourages subdivision and reuse of view elements, such as headers, footers, navigation menus, and more. Let's examine how the Facelets framework supports this approach. Facelets includes a number of useful tags for assembling JSF views from smaller elements.
Note
What is a Facelet?
We can think of a Facelet as a subset of a user interface comprised of zero or more UI components. In this chapter, we will begin by looking at some of the basic tags in the Facelets tag library and will progress towards a more complex composite view implementation based on advanced Facelets templating concepts.