Facelets version 1.1.15 is provided with Seam 2.1.1.GA. At the time of writing (early 2009), this is the latest available version of both Seam and Facelets.
Facelets can be independently downloaded from the Facelets web site (https://facelets.dev.java.net).
To use Facelets within a Seam application, we need to make sure that jsf-facelets.jar
is in the classpath for the web application. For the example applications we have looked at so far, we need to place the jsf-facelets.jar
file within the lib
directory of our project structure. When we look at SeamGen we will see that we do not need to download or explicitly configure Facelets for use within SeamGen generated applications. This entire configuration is taken care of for us automatically by the SeamGen tool.
If you wish to use Facelets outside of a Seam application, several different JAR files, which are not included with the Facelets download, are required to allow Facelets to operate correctly.
JSF Reference...