I would like to create table which can display data from database into JSF page. I found this code:
Replacing the f with h won't work, since there's no h:facet (in the JSF html taglib which is likely to be assigned to the h prefix). You'll have to include the appropriate taglib (JSF core) and assign it to the f prefix.
f
h
h:facet