Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Oracle ADF Faces Cookbook
  • Table Of Contents Toc
Oracle ADF Faces Cookbook

Oracle ADF Faces Cookbook

By : Amr Ismail Gawish
4 (6)
close
close
Oracle ADF Faces Cookbook

Oracle ADF Faces Cookbook

4 (6)
By: Amr Ismail Gawish

Overview of this book

This is a cookbook that covers more than 80 different recipes to teach you about different aspects of Oracle ADF Faces. It follows a practical approach and covers how to build your components for reuse in different applications. This book will also help you in tuning the performance of your ADF Faces application. If you are an ADF developer who wants to harness the power of Oracle ADF Faces to create exceptional user interfaces and reactive applications, this book will provide you with the recipes needed to do just that. You will not need to be familiar with Oracle ADF Faces, but you should be comfortable with Java application development, Java EE frameworks, and JSF. This book is also for ADF developers who know how to use Oracle ADF Faces but who want to know what’s new in Oracle ADF Faces 12c.
Table of Contents (12 chapters)
close
close
11
Index

Changing skins at runtime


Having a skin for your application is great to manage how it looks and feels from a central location, but giving the user an option to change the skin at runtime is also a great feature that many applications might want to provide to their users.

In this recipe, we will know how to provide the user with the capability to change skins at runtime and swap between two skins.

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

How to do it…

To know how to change skins at runtime, perform the following steps:

  1. Create a new skin by following steps 1 to 8 of the previous recipe with the following changes:

    • Name the skin hrRed instead of hrBlue

    • Choose the base skin hrBlue

    • Uncheck the Use as the default skin family for this project option

  2. Open the hrRed.css file.

  3. Open the Source mode of hrRed.css.

  4. Add the following lines:

    .hr-header-wrapper {
        background-color: #821816;
    }
  5. Create a new task flow with the name hr-skins-menu...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Oracle ADF Faces Cookbook
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon