Skip to Main Content
Mastering JavaServer Faces 2.2
book

Mastering JavaServer Faces 2.2

by Anghel Leonard
June 2014
Intermediate to advanced content levelIntermediate to advanced
578 pages
12h 2m
English
Packt Publishing
Content preview from Mastering JavaServer Faces 2.2

Chapter 11. JSF 2.2 Resource Library Contracts – Themes

Starting with version 2.0, JSF developers exploit Facelets as the default View Declaration Language (VDL). Facelets provide many advantages, but we are especially interested in using Facelet templates, which represent a mix of XHTML and other resources such as CSS, JS, and images. A Facelet template acts as a base (or a model) for the application pages. Practically, it represents a piece of reusable code that serves as a consistent and standard look and feel for the application pages. In the final chapter of this book, we will get more into the details of Facelets and templating, while in this chapter we will focus on the new JSF 2.2 feature known as Resource Library Contracts.

This new feature ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

JavaServer Faces

JavaServer Faces

Hans Bergsten

Publisher Resources

ISBN: 9781782176466Supplemental Content