Sunday, June 20, 2010

JSF tags reference

While developing JSF pages, we require a good understanding of JSF tags libraries. Mainly JSF provides two kind of tags library one is for core and second is for HTML.
Let's try to understand, how these two tags library has been used in JSF pages? You have to add the following lines in JSF pages,

JSF tag libraries-core
%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>

JSF tag libraries-HTML
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>

For understanding the core tags library in detail, you can go through the following link ,http://myfaces.apache.org/core20/myfaces-impl/tlddoc/f/tld-summary.html

For understanding the HTML tags library in detail, you can go through the following link
http://myfaces.apache.org/core20/myfaces-impl/tlddoc/h/tld-summary.html

In my searching I found some others links which are good to understand the basics of tags library. These are,

http://www.exadel.com/tutorial/jsf/jsftags-guide.html
http://www.roseindia.net/jsf/JSF_Core_Tag_Reference.shtml

1 comment:

Unknown said...

Helo Dilip, God job, But ifound that information is not sufficient to learn. Please be more precise in details in a simpler way dont put a url to get information from other source, try to give it by yourself.
Keep on typing.

Abdul Mannan