DataWindow server-side events are implemented in Java and must have a defined event handler interface implemented.
To add a server-side event:
Select the .jsp file in the WorkSpace Navigator for the Web page on which you want to create a server-side event.
The Web Page editor opens displaying the Web page.
In the Web Page editor, right-click the DataWindow you want to use and select Add Listener|<name>Listener from the context menu.
The following listeners are available: PrintListener, RetrieveListener, SqlPreviewListener, UpdateListener, and DataWindowOnLoadListener.
The Create <name>Listener dialog box opens.
Click Browse to select the type.
The Select Type dialog box opens.
Type the first letter of the type you want to use in the Select a type field.
A list of available types beginning with the letter you typed appears in the Matching types list.
Select the type that you want to use and click OK.
The Select Type dialog box closes and the Create <name>Listener dialog box displays the type you selected in the Type field.
Click OK.
The event-handler interface is created.
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com