O'Reilly logo

Oracle ADF Faces Cookbook by Amr Gawish

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

Creating an ADF skin for your application

An ADF skin is a collection of a special style sheet, an optional resource bundle, a name, and a base structure called the base skin.

In this recipe, we will create a custom ADF skin, remove the inline style inside the page template, and convert it to a cleaner page template.

In this recipe, it's assumed you understand native CSS and how to use it.

You can continue from the last recipe or you can grab the ADFFacesSkinning application from the Git repository.

How to do it…

To know how to create an ADF skin, perform the following steps:

  1. Right-click on ViewController, navigate to New | From Gallery | Web Tier | JSF/Facelets | ADF Skin, and click on OK.
  2. Change the filename to: hrBlue.css.
  3. Change the family to hrBlue ...

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