-
Book Overview & Buying
-
Table Of Contents
Oracle JDeveloper 11gR2 Cookbook
By :
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 whether to call any of the methodInitializer or taskflowInitializer task flows. These task flows were developed in the Using an application module function to initialize a page and Using a task flow initializer to initialize a task flow recipes...
Change the font size
Change margin width
Change background colour