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

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

Adding drag-and-drop capabilities


One of the events that we can use in ADF Faces is drag-and-drop.

The ADF Faces framework provides the ability to drag-and-drop items from one place to another on a page. Drag-and-drop provides users with a richer user experience that can make the user's task easier and more relevant.

In this recipe, we will implement two variations of the drag-and-drop functionality and see them in action. You can refer to the last recipe, or you can grab this project's recipe by cloning the ADFFacesDragAndDrop application from the Git repository.

How to do it…

To learn how to add drag-and-drop capabilities, we will first need to create a simple drag-and-drop attribute. Follow the ensuing steps to do this:

  1. Open the adfc-config.xml file.

  2. Drag a View component from the Components palette and drop it inside the Diagram mode.

  3. Name the view dragAndDrop.

  4. Double-click on the newly created view to create the page and choose the Default Hr Template page template.

  5. Drag a Panel Group Layout...

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