Apress Access

Facelets Essentials

Guide to JavaServer Faces View Definition Framework

By Bruno Aranda , Zubin Wadia

  • eBook Price: $17.99
Buy eBook Buy Print Book

Facelets Essentials Cover Image

Facelets Essentials, the first book on Facelets, introduces you to its importance, architecture, and relationship to JavaServer Faces and the Apache MyFaces web framework.

Full Description

  • Add to Wishlist
  • ISBN13: 978-1-4302-1049-8
  • User Level: Beginner to Advanced
  • Publication Date: May 22, 2008
  • Available eBook Formats: PDF

Related Titles

  • Beginning Hibernate, 4th Edition
  • Go Recipes
  • Certified OpenStack Administrator Study Guide
  • Python Recipes Handbook
  • Beginning Elastic Stack
  • Practical LPIC-1 Linux Certification Study Guide
  • Learn CakePHP, Second Edition
  • PHP Development Tool Essentials
  • Practical D3.js
  • Learning Groovy
Full Description

Facelets is a templating language developed from the ground up with JavaServer Faces in mind. Created in response to the many concerns involving JavaServer Pages (JSP) when building JavaServer Faces (JSF) views, Facelets steps outside of the JSP specification and provides a highly performant, JSF–centric view technology. Facelets' top properties, templating, reuse, and ease of development, allow it to help making JSF a technology suitable for large–scale projects. One of the first things a developer using Facelets finds is that it immediately leads to a reduction in user interface code.

Facelets Essentials, the first book on Facelets, introduces you to its importance, architecture, and relationship to JSF and the Apache MyFaces web framework. Learn to create your first application using the power and flexibility Facelets offers. Then, master and apply its basic and advanced features including Unified Expression Language, templating and reuse, custom tag development, and more.

What you’ll learn

  • See why you should use Facelets and the Facelets architecture
  • Create your first application with Facelets
  • Use the Facelets Unified Expression Language
  • Explore Facelets templating and reuse, as well as the tag reference and custom tag development
  • Create composition components
  • Extend the ViewHandler

Who this book is for

This book is for Java web developers who are using or experienced with JavaServer Faces and perhaps learning to use the MyFaces web framework.

Table of Contents

Table of Contents

  1. Why Use Facelets
  2. Creating an Application with Facelets
  3. Creating an Application with Facelets
  4. Tag Libraries
  5. The jsfc Attribute
  6. Facelets Templating and Template Clients
  7. Facelets Tag Reference
  8. Creating Composition Components
  9. Extending Facelets
  10. Extending the ViewHandler
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.


If you think that you've found an error in this book, please let us know by emailing to editorial@apress.com . You will find any confirmed erratum below, so you can check if your concern has already been addressed.

On page 4:

In the "Release Binaries" part, the URL for downloading the binaries does not exist:



    1. PHP Objects, Patterns, and Practice


      View Book

    2. Beginning Android 3D Game Development


      View Book

    3. Troubleshooting Oracle Performance


      View Book

    4. Beginning Amazon Web Services with Node.js


      View Book