What exactly do h: c: f: and ui: do in the JSF tag library?

In the JSF and Facelets tags, what exactly are these prefixes?

  • h:
  • with:
  • e:
  • u:

For example: h:head c:catch f:event ui:decorateetc.

+5
source share
1 answer

The prefix is ​​used to qualify a tag as belonging to a specific tag library or in XML to speak a namespace. The prefix is ​​somehow declared at the top of the JSF page (depending on whether you use JSP or Facelets). "H" usually corresponds to the HTML library, but you can use any letter (or word) that you would like as a prefix. General displays:

h http://java.sun.com/jsf/html
f http://java.sun.com/jsf/core
c http://java.sun.com/jsp/jstl/core
fn http://java.sun.com/jsp/jstl/functions
ui http://java.sun.com/jsf/facelets
+7
source

All Articles