Facelets

Robert Swarr

March 12, 2007

Abstract

Curious about Facelets, but short on time for trying a new product? This short cut shows you how to start developing web pages quickly with Facelets, the new JavaServer Faces-based templating framework.

This short cut begins with an explanation of what Facelets is, how it works, and what it will do for you. Then, it shows you how to install Facelets, and teaches you how to build Facelets templates, how to create UI components without writing a single line of Java code, how to create custom Facelets tags, how to integrate AJAX into a Facelets application, and more.

Facelets unleashes the power and versatility of Faces by replacing the default JSP view handler with an xhtml template compiler. This short cut shows how Facelets lessens development time and improves code reusability. Are you ready to build a top-notch JSF user interface with Facelets? Power up your computer and let's go.

Preface

UNIX is simple and coherent, but it takes a genius (or at any rate, a programmer) to understand and appreciate the simplicity.

Dennis M. Ritchie

Ritchie's often quoted statement expresses a fundamental truth. Great innovations are not overly clever or complicated. They are simple. Innovations in computer software, like those in other fields, spring from simple core ideas. Unix, arguably one of the most significant innovations ...

Get Facelets now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.