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, determines ...

Get Oracle JDeveloper 11gR2 Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.