Newer Version Available

This content describes an older version of this product. View Latest

Unsubscribing from Events in a Visualforce Page

The following code example shows how to call the unsubscribe method within a Visualforce page to unsubscribe from two events.

1swfobject.registerObject("clippy.codeblock-0", "9");
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17    Sfdc.canvas.controller.unsubscribe(['mynamespace.myevent2', 'mynamespace.myevent2']);
18