Designer 10.5 | webMethods CAF and OpenUI Development | Working with Facelets | About Facelets in CAF
 
About Facelets in CAF
By default, Composite Application Framework (CAF) provides support for the JSF Facelets standard and the implementation of page views as .xhtml files.
You can create legacy view pages by specifying a .view file name extension when creating a view page.
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.
You can convert existing CAF portlet projects that use .view files to the JSF Facelets .xhtml format. You can also convert an individual .view file to an .xhtml file.
Related Topics