At runtime, the action is represented by the IWDAction interface that allows access to actions in a view controller.
A UI element can be bound to an action. The action is executed when an event occurs that was triggered by a specific UI element. If an event occurs, the event handler implemented within the corresponding view controller is called (see Creating an Action at Design Time).
·
getActionParameters
This method enables you to access the action parameters of the action if they
are required for the next call of the event handler. This method should only
be used if a non-validating action returns a validating action and the
returned validating action requires parameters. In this case, the parameters
of the returned validating action within a non-validating event handler can be
specified (see Action
Types).
·
getController
This method returns the controller of the action.
·
isEnabled
This method specifies whether or not an action is currently active.
·
isValidating
This method specifies whether or not an action is a validating
action.
·
setEnabled
Sets the enabling status of the action. If an action is not active, the Web
Dynpro Framework ensures that the event handler is also not available for
other UI element events.
Method Name |
Parameter |
Return Value |
Short Description |
getController |
|
IWDController |
Returns the controller of the action. |
getActionParameters |
|
IWDParameters |
Returns the action parameter of the action. |
isEnabled |
|
Boolean |
Returns the Boolean value that indicates whether or not the action is enabled. |
isValidating |
|
Boolean |
Returns the Boolean value that indicates whether or not the action is a service request. |
setEnabled |
(Boolean enabled) |
void |
Sets the Boolean value that activates or deactivates the action. |