146
Insert Bar Objects
enabled="enabler"
Description
This attribute specifies that the item is available to the user if the
DW_enabler
value is
true
. If
you do not specify the
enabled
function, the item defaults to always enabled. The possible
enablers are
_SERVERMODEL_ASP, _SERVERMODEL_ASPNET, _SERVERMODEL_JSP,
_SERVERMODEL_CFML
(for all versions of ColdFusion),
_SERVERMODEL_CFML_UD4
(only for
UltraDev version 4 of ColdFusion),
_SERVERMODEL_PHP, _FILE_TEMPLATE, _VIEW_CODE,
_VIEW_DESIGN, _VIEW_LAYOUT, _VIEW_EXPANDED_TABLES,
and
_VIEW_STANDARD
.
To specify multiple enablers, place a comma (which means AND) between the enablers. To
specify NOT, use an exclamation point (
!
).
Example
If you want the button to be available only in Code view, specify the following:
enabled="_VIEW_CODE"
This dims the button in other views.
checked="enabler"
Description
The checked attribute is required if you use the checkbutton tag.
The item is checked if the
DW_enabler
value is
true
. The possible enablers are
_SERVERMODEL_ASP, _SERVERMODEL_ASPNET, _SERVERMODEL_JSP, _SERVERMODEL_CFML
(for all versions of ColdFusion),
_SERVERMODEL_CFML_UD4
(only for UltraDev version 4 of
ColdFusion),
_SERVERMODEL_PHP, _FILE_TEMPLATE, _VIEW_CODE, _VIEW_DESIGN,
_VIEW_LAYOUT, _VIEW_EXPANDED_TABLES,
and
_VIEW_STANDARD
.
To specify multiple enablers, place a comma (which means AND) between them. To specify
NOT, use an exclamation point (
!
).
Example
checked="_View_Layout"
command="API_function"
Description
Instead of referring Dreamweaver to an HTML file that contains the code to insert, you use
this tag to specify a command that Dreamweaver performs when the button is clicked.
Summary of Contents for DREAMWEAVER 8-EXTENDING DREAMWEAVER
Page 1: ...Extending Dreamweaver...
Page 8: ...8 Contents...
Page 14: ...14 Introduction...
Page 16: ......
Page 54: ...54 Customizing Dreamweaver...
Page 96: ...96 Customizing Code View...
Page 98: ......
Page 110: ...110 Extending Dreamweaver...
Page 138: ......
Page 166: ...166 Insert Bar Objects...
Page 180: ...180 Commands...
Page 248: ...248 Toolbars...
Page 260: ...260 Reports...
Page 278: ...278 Tag Libraries and Editors...
Page 288: ...288 Property Inspectors...
Page 378: ...378 Server Behaviors...
Page 398: ...398 Data Sources...
Page 432: ...432 Server Models...
Page 456: ...456 Data Translators...
Page 482: ......
Page 492: ...492 The Shared Folder...