C H A P T E R  13

Skins

RichFaces comes with a built-in skins feature that allows you to control the look and feel of your entire application from a single place. The skins feature is sometimes 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 dictate that all panel headers or tab labels will be this style or all table headers will have that color, and so on. In situations where you need more control and flexibility, ...

Get Practical RichFaces, Second Edition 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.