O'Reilly logo

PrimeFaces Blueprints by Ramkumar Pillai, Sudheer Jonna

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Applying themes in your PrimeFaces applications

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 existing themes

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. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required