Inside Facelets - Part 3: Templating and Re-Use
This is the third part in a series of articles about Facelets, an alternative view technology for building JSF applications. Facelets is a powerful templating system that enables you to define JSF views using HTML-style templates, reduces the amount of code necessary to integrate components into the view, and doesn't require a web container. This article explains how you can use Facelets for templating inside of your JavaServer Faces projects.
--------------------------------------------------------------------------------
For any view technology to succeed, it must have some aspect of templating and re-use that's both easy to use and understand. Facelets technology solves this issue in a way that is ideal for JavaServer Faces while keeping that sense of familiarity to traditional, tag-based user interfaces. This article covers the possible ways to increase re-use and simplify maintenance on your JavaServer Faces project.
When people first start creating web pages, they often find themselves repeating content across multiple files. As a developer, this can be frustrating when your object-oriented tendencies kick in. Wouldn't it be nice to simply maintain that content in one spot?
No comments:
Post a Comment