Adobe Extending Dreamweaver CS4 User Manual Page 320

  • Download
  • Add to my manuals
  • Print
  • Page
    / 387
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 319
314
EXTENDING DREAMWEAVER CS4
Components
<menubar xmlns:MMString="http://www.macromedia.com/schemes/dat/string/" name=""
id="DWCFCsContext">
<menu MMString:name="Components/ColdFusion/CFCs/CFCsMenus_xml/DWContext_CFCs/menu/name"
id="DWContext_CFCs">
<menuitem
MMString:name="Components/ColdFusion/CFCs/CFCsMenus_xml/DWContext_CFCs_createNewCFC/menuitem
/name" domRequired="false" enabled="true" command="createCFC()"
id="DWContext_CFCs_createNewCFC" />
<menuitem
MMString:name="Components/ColdFusion/CFCs/CFCsMenus_xml/DWContext_CFCs_editCode/menuitem/nam
e" domRequired="false" enabled="canGetSelectedCFC()" command="editCFC();"
id="DWContext_CFCs_editCode" />
<separator/>
<menuitem
MMString:name="Components/ColdFusion/CFCs/CFCsMenus_xml/DWContext_CFCs_getDetails/menuitem/n
ame" domRequired="false" enabled="canGetDetails()" command="getDetails()"
id="DWContext_CFCs_getDetails" />
<menuitem
MMString:name="Components/ColdFusion/CFCs/CFCsMenus_xml/DWContext_CFCs_getDescription/menuit
em/name" domRequired="false" enabled="canGetSelectedCFC()" command="getDescription()"
id="DWContext_CFCs_getDescription" />
<separator/>
<menuitem
MMString:name="Components/ASP_NET_Csharp/Connections/ConnectionsMenus_xml/DWShortcuts_Server
Component_Insert/menuitem/name" domRequired="false" enabled="insertCFCEnabled();"
command="clickedInsertCFC();" id="DWShortcuts_ServerComponent_Insert" />
</menu>
</menubar>
getCodeViewDropCode()
Availability
Dreamweaver MX.
Description
This function gets the code that is either dragged, cut, or copied into the Code view from the Components panel.
Arguments
componentRec
The componentRec argument is an object.
Returns
The string that contains the code for the component.
Example
The following example identifies the code for an Adobe ColdFusion Component (CFC):
Page view 319
1 2 ... 315 316 317 318 319 320 321 322 323 324 325 ... 386 387

Comments to this Manuals

No comments