O'Reilly logo

PrimeFaces Beginner's Guide by K. Siva Prasad Reddy

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

Chapter 13. Using PrimeFaces Themes

PrimeFaces components are built with theming support based on the ThemeRoller CSS framework. At the time of writing this book, PrimeFaces provides 38 pre-designed community themes which are ready to use for free. We can also create our own themes using the online ThemeRoller tool and integrate them with PrimeFaces.

Our TechBuzz application will be developed with multiple themes support, and users can select their favorite theme and change to other themes at anytime.

In this chapter we will cover the following topics:

  • Configuring and using themes
  • Using stateless ThemeSwitcher
  • Using stateful ThemeSwitcher
  • Creating and using custom theme

Configuring and using themes

The PrimeFaces components come with a default theme support ...

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