Chapter 11. Skins

RichFaces comes with a built-in skinnability feature that allows you to control the look and feel of your entire application from a single place. Skinnability sometimes is called themes, and in this context they're the same thing.

You are probably wondering why you wouldn't just use good old CSS to change the look and feel of your application. CSS is not going anywhere; you are still going to use it. The basic idea is to provide more abstraction when working with the look and feel. Instead of repeating the same color in the CSS file, you will be able to say that all panel headers or all tab labels will be of this style or all separators will have this color, and so on. In situations where you need more control and flexibility, ...

Get Practical RichFaces now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.