Calling a task flow as a URL programmatically
A task flow that is indicated as URL invokable (by setting its visibility
attribute url-invoke-allowed
to true
) may be accessed directly by constructing and invoking its URL. This allows you to dynamically invoke task flows from within your Java code depending on some condition that is satisfied at runtime. Programmatically, this can be done using the oracle.adf.controller.ControllerContext.getTaskFlowURL()
method and specifying the task flow identifier and parameters.
For this recipe, to demonstrate calling a task flow via its URL, we will create a task flow that is URL invokable and call it from a JSF page programmatically. The task flow accepts a parameter and based on the parameter's value, ...
Get Oracle JDeveloper 11gR2 Cookbook 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.