PrimeFaces is well integrated with the powerful ThemeRoller CSS framework. You can use either the predefined themes from PrimeFaces or create new themes from scratch for the application design. Currently, there are more than 30 predesigned themes available in the PrimeFaces theme gallery (http://www.primefaces.org/themes.html).
Applying a theme to your PrimeFaces project is quite easy. Each theme is packaged in a JAR file. First, you have to download the JAR file from the PrimeFaces theme gallery and then add it to your classpath. After that, you need to define the
primefaces.Theme context parameter in your deployment descriptor (
web.xml) file with the theme name as its value. ...