Assigning Functions as Event Handlers
To assign a function to an event handler, do the following:
1.Select the component in the SPS for which the event handler is to be defined. The component can be a node or content of any kind, dynamic or static.
2.In the Properties sidebar select the Event group. This results in the available events being displayed in the Attribute column (screenshot above).
4.From the dropdown list, select the required function as the event handler for that event.