ADOBE SYSTEMS INCORPORATED

Copyright 2001-2002 Adobe Systems Incorporated
All Rights Reserved

NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms of the Adobe license agreement accompanying it. If you have received this file from a source other than Adobe, then your use, modification, or distribution of it requires the prior written permission of Adobe.


Extension Name: Register Callback

Folder name: Register Callback


Description:

The Register Callback sample shows how to register a custom callback, how to receive this custom callback, and how to unregister for the callback.

The Register sample registers and implements a handler for the callback customTagDropped. The callback brings up an alert message with the two input parameters: custom element name and title of the document in which the element was dropped. Other extensions may also set up callback handlers for customTagDropped.

The FormLikeTag and Custom Box samples call the customTagDropped callback.

How to Use:

Make sure the FormLikeTag and/Custom Box samples are installed.

Drop either a FormLike tag or Sample Box onto a page. The callback will be called with the element name and title. These are displayed in an alert message.

After 3 tags are dropped on the page, the callback is disabled, and the alert message should not appear.


Module Definition:

Scripts:


JSXLocale Specify localized versions of strings used in menu items, dialogs, alerts, etc.

US DE FR