Macromedia dreamweaver 8-extending dreamweaver 사용자 설명서
410
Components
classlocation="d:\music\music.jar"></javabean>
</javabeans>
</javabeans>
JavaBeans should contain the logic for saving themselves in the multiuser configuration folder,
so the next time the user launches an application, the component loads itself again from the
saved data file.
so the next time the user launches an application, the component loads itself again from the
saved data file.
Adding a service component
To add a new lightweight directory access protocol (LDAP) service using
Dreamweaver MX:
Dreamweaver MX:
1.
Using existing component type files as a model (such as the files in the application folder
Configuration/Components/Common/WebServices), create all the required files, plus the
desired optional files, to display the new component type in the Dreamweaver
Components panel, as shown in the following table:
Configuration/Components/Common/WebServices), create all the required files, plus the
desired optional files, to display the new component type in the Dreamweaver
Components panel, as shown in the following table:
Filename
Description
Required/
Optional
Optional
.htm
The extension file that identifies other supporting
JavaScript and GIF files.
JavaScript and GIF files.
Required
.js
The extension file that implements the Component API
callback.
callback.
Required
.gif
The image that appears in the Components pop-up list.
Required
*Menus.xml
The repository for metadata that organizes the
Components panel structure. Although the common
WebServices component does not use this file, you can
refer to the file WebServicesMenus.xml in the application
folder Components/ColdFusion/ WebServices as an
example.
Components panel structure. Although the common
WebServices component does not use this file, you can
refer to the file WebServicesMenus.xml in the application
folder Components/ColdFusion/ WebServices as an
example.
Optional
*.gif
Toolbar images, which can be enabled or disabled, as
shown in the following example:
shown in the following example:
ToolBarImageUp.gif
ToolBarImageDown.gif
ToolBarImageDisabled.gif.
ToolBarImageDown.gif
ToolBarImageDisabled.gif.
Or, tree node images.
Optional
NOT
E
Keep the same prefix throughout all the files that correspond to one component so
that each file and its corresponding component can be identified easily.
that each file and its corresponding component can be identified easily.