© Michael Müller 2018
Michael MüllerPractical JSF in Java EE 8 https://doi.org/10.1007/978-1-4842-3030-5_35

35. Changing Look and Feel

Michael Müller1 
(1)
Brühl, Nordrhein-Westfalen, Germany
 

Sometimes users love to exchange the look and feel of an application, for example by choosing a different theme. The question arises, how can we change the look and feel of an application without changing the program code? If we separated content and layout with CSS, it seems as easy as choosing a different CSS file.

Resource Library

In practice, the layout might depend not only on a single CSS file, but on a couple of CSS files as well as related script files or other resources. Let’s recap Chapter  10: JSF is able to group a bundle of resources into a library. ...

Get Practical JSF in Java EE 8: Web Applications ​in Java for the Enterprise 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.