In this section, you will find the brief introduction of Facelets technology of JSF.
The Facelets is the presentation technology for the JSF for developing web based application. Facelets is page declaration language for the Java Server Faces which is used to build views for JSF by utilizing HTML style template. It also used to build component trees.
For using JSF Facelets tag library, you need to include its URI into HTML tag as follows :
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://java.sun.com/jsf/facelets">
You need to put ui : prefix before using its tags. Some of the examples are given below :
Posted on: November 29, 2011 If you enjoyed this post then why not add us on Google+? Add us to your Circles