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 (18 chapters)
close
close
Oracle ADF Faces Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
1
Index

Using the inputColor component


The inputColor component allows users to pick a color from a color palette. It presents a text input field for entering a color's hexadecimal code, usually in the format #RRGGBB. The component also displays a button for picking colors from a palette in a pop up.

In this recipe, we will add an inputColor component to the Employees form created in the first recipe to show the Favorite Color attribute.

How to do it...

In order to add inputColor, follow the ensuing steps:

  1. Open the inputComponents.jsf page.

  2. Drag the FavColor attribute under EmployeesView1 in Chapter4AppModuleDataControl from the Data Control pane and drop it inside the panel form layout.

  3. Select Text from the drop-down menu and select ADF Input Text w/Label.

  4. Right-click on the inputText component and go to Convert to… | Input Color.

  5. Change the Compact attribute to true.

  6. Save everything.

  7. Run the inputComponets.jsf page. You should see the page as shown in the following screenshot:

How it works...

The inputColor...

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