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

Working with dynamicComponent


There are certain cases when you want to render different components on page dynamically based on a changing model (think programmatic view object), and this cannot be determined before runtime. This can generate a huge code to generate components which can be very tedious for the developer.

Oracle ADF Faces provides a solution for the use cases with the af:dynamicComponent tag. The af:dynamicComponent tag can determine the component type to display and its value at runtime.

In this recipe, we will create a new page to see how can we display different input components based on of the EmployeeView attributes using af:dynamicComponent.

How to do it...

In order to use the dynamicComponent, follow the ensuing steps:

  1. Open the adfc-config.xml file.

  2. Drag a view and name it dynamicComponent.

  3. Double-click on the newly created view and choose the Oracle Three Column Layout template.

  4. Drag EmployeesView1 under Chapter4AppModuleDataControl from the Data Controls pane and drop it...

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