Time for action – passing parameters to a task flow
Let us see how to
pass a parameter to createDepartmentFlow
from the createEmployeeFlow
bounded task flow:
- Go inside
createDepartmentFlow
in theViewController
project ofEmpDirectoryApplication
. - Click on the Overview tab and select the Parameters section from the left-hand side.
- Click on the + icon to add a parameter in the Input Parameter Definitions section.
- Provide the Name as
deptIdParam
and tab out of the Name column. The Value section will be auto populated with #{pageFlowScope. deptIdParam}. - Provide
java.lang.String
in the Class column to define that the parameter that we are passing will be of aString
type. - Select the Required option to make the parameter as the required value for the task ...
Get Oracle ADF 11gR2 Development Beginner's Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.