In this chapter, we saw the many improvements that Facelets introduces over JSP. We saw that it doesn’t make any more sense to use JSP as view technology for new JSF projects. Creating templates with Facelets was introduced, and we saw how we can use a previously-generated template. We also looked into generating composition components, which turned out to be a very powerful feature of Facelets.
We saw how composition components can help us to obey the DRY paradigm. We saw that composition components, once created, can be used in the same way as any other JSF component. Some more advanced and very useful features, such as inline texts and static functions, were also introduced. The chapter concluded with an overview of all specific Facelets tags.
You should understand that this is only an introduction to Facelets. There is a lot more to Facelets than can be covered in a single chapter.
In the next chapter, we will dive into the extensive collection of advanced JSF components that MyFaces...