views:

642

answers:

6

What are the most useful JSF tag libraries?

Initially, I'd like one recommendation per answer, if you also use that library then just vote up the previous answer.

My goal is to get to know what's out there apart from the most obvious ones:

 xmlns:h = http://java.sun.com/jsf/html
 xmlns:f = http://java.sun.com/jsf/core
 xmlns:ui = http://java.sun.com/jsf/facelets

These three are basically the only ones I know! :-o

+1  A: 

The three ones you are listing are the basic ones (except for Facelets).

What I can add are the RichFaces (and Ajax4JSF) libraries:

xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich"
romaintaz
A: 

Anothers interesting libraries are the JSTL ones from Sun:

xmlns:c="http://java.sun.com/jsp/jstl/core"
xmlns:fmt="http://java.sun.com/jsp/jstl/fmt"
xmlns:sql="http://java.sun.com/jsp/jstl/sql"
xmlns:x="http://java.sun.com/jsp/jstl/xml"
xmlns:fn="http://java.sun.com/jsp/jstl/functions"
romaintaz
Not really the same thing tho are they? I gather you need to use them carefully to avoid issues with a mismatched processing model. Maybe you could expand on that?
Simon Gibbs
A: 
xmlns:jsp="http://java.sun.com/JSP/Page" version="1.2"
xmlns:jsfExt="http://java.sun.com/jsf/extensions/dynafaces"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

Portlet ones I use:

xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Some of that information looks like just nearby bits of code. Which bits are the actual identifiers? Any docs?
Simon Gibbs
+1  A: 

I have since discovered Pretty Faces which looks like it might be handy in solving some back button related issues!

http://ocpsoft.com/prettyfaces/

Simon Gibbs
A: 

For use exclusively with JBoss Seam:

http://docs.jboss.org/seam/2.1.0.SP1/reference/en-US/html/controls.html

Simon Gibbs
+1  A: 

Take a look at Primefaces you will love it http://primefaces.prime.com.tr/en/

xmlns:p="http://primefaces.prime.com.tr/ui"
Bhushan