beautypg.com

Adobe Extending Dreamweaver CS4 User Manual

Page 22

background image

16

EXTENDING DREAMWEAVER CS4

Customizing Dreamweaver

internaltype

Yes

A broad classification of how Dreamweaver
treats a file. The

internaltype

identifies

whether the Design view is enabled for this
document and handles special cases such as
Dreamweaver templates or extensions.

The following values are valid:

Dynamic

DWExtension

(has special display regions)

DWTemplate

(has special display regions)

HTML

HTML4

Text

(Code view only)

XHTML1

XML

(Code view only)

All server model-related document types
map to

Dynamic

. HTML maps to

HTML

.

Script files (such as CSS, JS, VB, and CS) map
to

Text

.

If

internaltype

is

DWTemplate

, specify

the

dynamicid

. Otherwise, the Server

Behavior or Bindings panel does not
recognize the new blank template that the
New Document dialog box creates.
Instances of this template are simply an
HTML template.

dynamicid

No

A reference to the unique identifier of a
dynamic document type. This attribute is
meaningful only when

internaltype

is

DWTemplate

. This attribute lets you

associate a dynamic template with a
dynamic document type.

winfileextension

Yes

The filename extension that is associated
with the document type on Windows. You
specify multiple filename extensions by
using a comma-separated list. The first
extension in the list is the extension that
Dreamweaver uses when the user saves a

documenttype

document.

If two nonserver model-related document
types have the same filename extension,
Dreamweaver recognizes the first one as the
document type for the extension.

Tag

Attribute

Required

Description

This manual is related to the following products: