Designing and Implementing Composite Applications : webMethods CAF Development Help : Working with Facelets : About Facelets in CAF
About Facelets in CAF
Composite Application Framework (CAF) provides support for the JSF protocol and the implementation of views with Facelets and XHTML functionality.
*You can create a new CAF portlet and web application projects with support for JSF Facelets. Creation of a project from a template is subject to the UI Development preference Prefer JSF 2.x xhtml Facelet Templates for New Pages. For more information, see Disabling Facelets Functionality for New Projects and Views.
*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. For more information, see Migrating CAF Projects and .view Files to JSF Facelets Format.
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.
Copyright © 2016- 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback