Book Image

Oracle ADF Faces Cookbook

By : Amr Ismail Gawish
Book Image

Oracle ADF Faces Cookbook

By: 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

Using the train components


When you have a set of pages which users should visit in a particular order, you should consider using the train component on each page to display a series of navigation items that guide users through the multistep process. In this recipe, we will create a train-enabled task flow to showcase the train controls.

How to do it...

In order to use train, follow the ensuing steps:

  1. Create a new task flow with the name train-flow.

  2. Check the Create Train checkbox and click on OK.

  3. Drag a view inside the task flow and name it trainStep1.

  4. Drag another view inside the task flow and name it trainStep2.

  5. Drag a third view inside the task flow and name it trainStep3.

  6. From the Structure pane, expand view – TrainStep1 and select the train-stop node.

  7. Right-click on train-stop and navigate to Insert Inside | Display Name.

  8. Change the Display Name to Step 1.

  9. Repeat the last three steps and change the Display Name to Step 2 and Step 3 for trainStep2 and trainStep3 respectively.

  10. Double-click on trainStep1...