Book Image

Mastering JavaServer Faces 2.2

By : Anghel Leonard
Book Image

Mastering JavaServer Faces 2.2

By: Anghel Leonard

Overview of this book

Table of Contents (20 chapters)
Mastering JavaServer Faces 2.2
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
The JSF Life Cycle
Index

Summary


Facelets is a large subject with many interesting aspects which are pretty hard to cover in a few chapters of a book. As you know, there are books entirely dedicated to Facelets, but I hope that in the final three chapters I managed to cover a decent part of the JSF 2.2 default VDL. Probably, the most used part of Facelets is templating; therefore, I have tried to cover some handy techniques for writing flexible and cool templates. Of course, besides skills and techniques, writing templates is also a test of the imagination. Once we master the Facelets tags and choose the right techniques, we are ready to start writing templates. If we choose some naming conventions as well, then we can easily share our templates with the JSF world, like Mamadou Lamine Ba tried in a Java.Net project at https://weblogs.java.net/blog/lamineba/archive/2011/10/03/conventional-ui-design-facelets-and-jsf-22. In addition, if we spice up our template files with some Facelets programmatic tricks, then we...