-
Book Overview & Buying
-
Table Of Contents
JBoss Tools 3 Developers Guide
Facelets is a templating language for JSF that enables the rendering of JSF components on XHTML files, serving as an alternative rendering medium for JSF components other than standard JSPs. As you know, Facelets is an extension of JSF especially created to simplify the design of presentation pages for JSF. To add Facelets support to your JSF projects, you start by creating a JSF project exactly as you have seen in the Creating a JSF Project Stub section. The main difference is that in the New JSF Project window (as seen in the following screenshot), you have to select JSF 1.2 with Facelets.

After you have selected the JSF Environment as JSF 1.2 with Facelets, you have to select a Template from the following list:
FaceletsBlankWithoutLibs—this is a blank JSF project without JSF support. In this case, the JSF libraries are missing for avoiding the potential conflicts with the servers that already offer JSF support.
FaceletsKickStartWithRILibs—this is a demo JSF/Facelets...
Change the font size
Change margin width
Change background colour