CHAPTER 4The Facelets View Declaration Language

This chapter presents a brief but complete guide to using the Facelets View Declaration Language technology, invented as a JSF extension by Expert Group member Jacob Hookom, and now incorporated into the core JSF specification in JSF 2.0. Facelets was created to replace the use of JSP as a View Declaration Language for JSF, with the following goals in mind:

• Provide a server-side templating facility that allows composing the actual view from several separate physical pages in a way that maximizes markup code reuse and eliminates redundancy among views.

• Designed entirely with JSF in mind.

• Provide a way to declare a JSF View using standard XHTML syntax.

• Provide an extensible “tag library” feature. ...

Get JavaServer Faces 2.0, The Complete Reference 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.