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 task flow parameters


Task flows are great when you want to wrap small business units together. However, sometimes the business logic can change based on certain states and variables. Instead of creating multiple task flows with small changes, you can use task flow parameters to change the behavior of the task flow when it's being added as a region.

In this recipe, we will change the employees-crud-flow task flow to accept a parameter and to show an extra column in the employee's table based on this parameter. You can continue from the last recipe, or you can grab this project's recipe by cloning the UsingTaskFlowParameters application from the Git repository.

How to do it…

To know how to use parameters with task flows, perform the following steps:

  1. Double-click on the employee-crud-flow task flow.

  2. Switch to the Overview mode and select the Parameters menu from the left navigation pane.

  3. Click on the plus icon to the right of Input Parameter Definitions.

  4. Change Name to showSalary.

  5. Change Class...