About facelets

Facelets is a view technology that focuses on building JSF component trees using concepts well known by Tapestry users.


Download facelets 1.0.4 release on java.net. Then extract the archive and put jsf-facelets.jar in your WEB-INF/lib folder.

Put xulfaces.taglib.xml from sample application (WEB-INF/facelet) into your WEB-INF/facelet folder.

Edit your faces configuration and add the following lines :



Edit your web.xml and add the following lines :



Using facelets

Facelets deals with XHTML pages unlike JSP.

Have a look on this xulfaces sample with facelets :

<?xml version="1.0"?>
<!DOCTYPE window >
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
<?xml-stylesheet href="css/admin.css" type="text/css"?>

	<xf:label control="test-textbox1" crop="none" value="A String"/>
	<textbox id="test-textbox1"/>

Check facelets documentation (good work !) for further informations.

This is first realease of xulfaces supporting facelets. There must be bugs. Please report them !