In this section: |
Once you create a request, you want it to generate tasks that a user performs, such as clicking a button or moving from one field to another. These tasks are created using Ajax calls, which execute them as asynchronous calls in JavaScript. With Ajax, the JavaScript does not have to wait for the server response, but instead can:
The Requests/Actions drop-down menu is used to select the type of request or action to be taken. As a request is selected, it is displayed in the Requests/Actions list. You can use the adjacent arrows to move actions into the desired execution order. Each request also populates the Target type field with the available targets in which that request can be executed.
The Request selection types are described in the following list.
Lists the requests you have created in the Requests & Data Sources panel. Each request selected populates the Target type field with the available targets in which that request can be executed.
Note: You must include a Connect task or the load does not work. The format is: <request type>/<procedure name>.<function>
For example,
Embedded procedure/Request1.Connect
Lists the available requests created in the Requests & Data Sources panel.
Lists the available jQuery animations from the jQuery animation section.
Toggles the selected Maintain Data form on and off.
Lists the available tasks to enable you to execute one task from within another.
Creates an action to refresh the selected target.
Allows you to specify that one request must complete before the next one begins. For example, if request1 is listed above the Wait for completion action and request2 is below it, request1 runs first and when completed, request2 runs.
Creates a JavaScript call action. When using the JavaScript call, different results occur depending on what is returned. If the JavaScript call returns 0, then all actions after it run. If the JavaScript call returns 1, then one action after the call is skipped, and all actions after that are then run. If the JavaScript call returns 2, all actions after it are skipped.
The Target type option contains a list of targets in which the request can be executed. These targets can be controls, frames, windows, or distribution methods when the Request is set to Schedule. These options can be different for specific actions.
Executes the request in a window.
Executes the request in the WebFOCUS-generated InfoWindow.
Executes the request in a selected frame.
Executes the request as an asynchronous call in JavaScript.
Note: The Ajax call is the only Target Type used by Maintain Data.
Schedules the report request for distribution.
Defers the running of the report.
Specifies that an input control will be refreshed. This option is only available when you have a refresh request selected in the Requests/Actions list. You specify which control should be refreshed by selecting one from the Target/Template Name list.
Specifies that an Analytic Document will be refreshed. This option is only available when you have a refresh request selected in the Requests/Actions list. You specify the Analytic Document that will be refreshed by selecting one from the Target/Template Name list.
Specifies that a WebFOCUS BI Portal page is refreshed. This option is only available when you have a refresh request selected in the Requests/Actions list. If you select All pages of the portal, all BI Portal pages are refreshed. If you select Current page only, only the current BI Portal page is refreshed.
Specifies that the selected task calls a JavaScript function that you type in the Function name field. This option is only available when you have selected JavaScript call in the Requests/Actions field.