Introduction to Facelet

Facelet is a view technology for Java Server Faces (JSF) that allows building composite views more quickly and easily than with JSP which is the default view technology for JSF.

Introduction to Facelet

Introduction to Facelet

       

 

Facelet is a view technology for Java Server Faces (JSF) that allows building composite views more quickly and easily than with JSP which is the default view technology for JSF. JSP pages are compiled into servlets but it?s not the case with Facelets because Facelet pages are XML compliant and its framework uses a fast SAXbased compiler to build views. Facelets can make changes to pages immediately so developing JSF applications with Facelets is simply faster. This section explains all facelet tags. Download zip file from the link given below of the page and run it.

  1. Facelet component tag
    This tag is used to add a new component into the JSF component tree as children of UI component instance. This tag shows its behavior like composition tag. The difference is that the component tag inserts a new UIcomponent instance in the component tree and this instance is the root of all its child components or fragments. The content outside of the tag is ignored as it happens with composition tag.

 

Read more information at:

http://www.javajazzup.com/issue7/page77.shtml