Book Image

Oracle ADF Faces Cookbook

By : Amr Gawish, Amr Ismail Gawish
Book Image

Oracle ADF Faces Cookbook

By: Amr Gawish, Amr Ismail Gawish

Overview of this book

Table of Contents (18 chapters)
Oracle ADF Faces Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Presenting historical data using the Timeline component


The Timeline component has been newly introduced to ADF 12c; it presents interactive visualization across a date range that you can move forward or backward along the data timeline. Events (rows) are presented as nodes with lines across the data range similar to the nodes in the HierarchyViewer component, which can have images, links, and more.

In this recipe, we will add a timeline component to display the employees' hire history based on the hire date. Also, in this recipe, the model has been created for you; you can continue from the previous recipe or you can open the project directly by cloning the Timeline project from the Git repository.

How to do it...

In order to add the Timeline component, follow the ensuing steps:

  1. Create a new task flow inside the ViewController project.

  2. Name the task flow employees-timeline-flow.

  3. Drag-and-drop a view activity inside the task flow and name it employeesTimeline.

  4. Double-click on the view activity...