About Facelets in CAF
Composite Application Framework (CAF) provides support for the JSF Facelets standard and the implementation of page views as .xhtml files.
Facelets provide a number of advantages to facilitate component reuse and ease of development, including:
Templating. A Facelets file can be configured to reference an existing file that can be used as a template. The Facelets file can provide content for placeholders defined in the template file. The Facelets file, with its template file incorporated, can also be used as a template for other Facelets files, enabling you to create a hierarchy of templates.
Ability to use XHTML to define pages.You can use the extended capabilities of XHTML to define your pages. In addition, using *.xhtml as a URL pattern provides convenience when calling pages.
Support for Facelets tag libraries. All CAF controls are available as tag libraries for use in Facelets applications.