Designer 10.7 | webMethods CAF and OpenUI Development | Views in the Composite Application Framework | CAF Events Editor | Handlers tab
 
Handlers tab
The Handlers tab allows you to create an event handler that specifies the event type, conditions, and actions for an event. The following table lists the items, available on the Handlers tab:
Component
Description
Event Handlers
List of event handlers
Lists the event handlers created for the project.
Add
Adds an event handler to the list of event handlers.
Click Add to display the following components for adding event handler parameters: General Information, CAF Event Type, Conditions, Handler Actions
Delete
Deletes a selected event handler from the list of event handlers.
Up
Decrements the run-time position of a selected event handler listing. Event handlers for the same event type are processed in the order that they are defined.
Down
Increments the run-time position of a selected event handler listing. Event handlers for the same event type are processed in the order that they are defined.
General
Handler Name
Required. Use this text box to name the event handler.
Description
Use this text box to describe the event handler.
CAF Event Type
Event Type
Required. Enables selection of a My webMethods Server event or custom event type.
Create
A My webMethods Server event type that is fired when an object is created, for example, a page, portlet, folder, file, and so on.
Delete
A My webMethods Server event type that is fired when an object is deleted, for example, a page, portlet, folder, file, and so on.
Login
A My webMethods Server event type that initiates an event when a user successfully logs in or logs out, or when a login script starts and completes.
Login Failed
A My webMethods Server event type that initiates an event when a user's login or logout fails, or when a login script fails to complete.
Update
A My webMethods Server event type that fires when an object is updated, for example, a page, portlet, folder, file, and so on.
View
A My webMethods Server event type that fires when a user accesses an object, for example, a page, portlet, folder, file, and so on.
Workspace Share
A My webMethods Server event type that initiates an event when a workspace is shared.
Workspace Un-Share
A My webMethods Server event type that initiates an event when a workspace is u not shared.
Listener Type
Queued
Default. Executes the event handler on only one node in a cluster after the event initiates.
Asynchronous
Executes the event handler on every node in a cluster after the event initiates.
Synchronous
Executes the event handler on every node in a cluster immediately when the event initiates.
Note:
Increasing the number of synchronous event handlers can significantly increase the processing time of the action that initiated the event.
Conditions
Condition Type
Joined List of Simple Conditions
Provides a list of conditions that you can apply to an event.
Advanced condition expression
Enables you to enter a formula for an advanced condition.
Advanced Condition
Condition
Use this text box to enter a formula for an advanced condition.
Simple Condition
ALL are true
Sets the conditions to require all conditions to be true.
ANY is true
Sets the conditions to require any one condition to be true.
One only is true
Sets the conditions to require only one condition to be true.
Add
Adds a field, operation, and optional value for a condition.
Edit
Enables editing of a field, operation, and optional value for a condition.
Delete
Deletes a condition.
Up
Decrements the position in the list of a selected condition listing.
Down
Increments the position in the list of a selected condition listing.
Handler Actions
Action Type
List of Simple Actions
Provides a list of handler actions that you can apply to an event.
Advanced action expression
Enables you to enter a formula for an advanced action.
Advanced Action
Use this text box to enter a formula for an advanced action.
Simple Actions
Add
Adds a Fire Ajax Event, Invoke Service, or Send Notification action to the event.
*Fire Ajax Event. Provides Ajax functionality for the event. See Configuring a Fire Ajax Event Action.
*Invoke Service. Invokes a service or an action for the event.
*Send Notification. Initiates a notification for the event. See Creating a Notification.
Note: You must create a notification before you can use the Send Notification action.
Edit
Enables editing of a Fire Ajax Event, Invoke Service, or Send Notification action for an event.
*Fire Ajax Event. Provides Ajax functionality for the event. See Configuring a Fire Ajax Event Action.
*Invoke Service. Invokes a service or an action for the event. See Configuring an Invoke Service Action.
*Send Notification. Initiates a notification for the event. See Creating a Notification.
Delete
Deletes an action.
Up
Decrements the position in the list of a selected action listing.
Down
Increments the position in the list of a selected action listing.
Related Topics