Development tools : XUI editor : Editing an XUI page : Editing the properties of the XUI widgets : Setting ECA rules to widgets : Defining actions for an ECA rule
  
Defining actions for an ECA rule
Prerequisite
Before you add actions to an ECA rule, you must add at least one event and a condition to the ECA rule. For information on how to add events to an ECA rule, see Adding events to an ECA rule. For information on how to configure conditions for an ECA rule, see Defining conditions for an ECA rule.
The action part of an ECA rule is the action that is invoked on a widget after the conditions part of an ECA rule has been evaluated. In the ECA editor, you can configure actions for situations in which the condition evaluates to true, and you can configure actions for situations in which the condition evaluates to false. The steps that are required to configure an action whether the condition is true and the condition is false are the same.
When defining ECA actions, user could either create a new action or reuse an already available Action Group. Action Group is a group of actions that have been identified as common actions and that may have been defined using a specific editor or while creating an ECA rule. For more information, see Creating Action Groups.
Procedure
1 In the Actions panel of the Rules tab of the Properties view, click the Add icon.
This graphic is described in the surrounding text.
The "Please select a value" window opens.
2 Select either Invoke Widget Function or Set Widget Property or Invoke Action Group depending on the action that you want to be invoked.
If you select Invoke Widget Function, select a widget in the Invoke Widget Function panel, and then select a function in the right panel. Click OK.
This graphic is described in the surrounding text.
If you select Set Widget Property, select a widget in the Set Widget Property panel, and then select a widget property in the right panel. Click the Browse icon This graphic is described in the surrounding text. of the Set Property Value field to configure a value for the property. Click OK.
This graphic is described in the surrounding text.
If you select Invoke Action Group, select an Action Group in the Invoke Action Group panel and click OK.
This graphic is described in the surrounding text.
Go up to
Setting ECA rules to widgets