
174
Chapter 13 Customizing the Development Environment
Creating Tag Definitions
Interfaces such as Tag Insight and Tag Inspector require tag-specific information to
operate properly. For instance, the Tag Inspector needs to know the attributes of the
tag being entered, the type of each of those attributes, and, in some instances, the
enumerated values of an attribute. Individual tag definition files store this
information.
These tag definitions are stored in \Extensions\TagDefs\. For instance, all the
information about the
applet
tag is stored in
\Extensions\TagDefs\HTML\Applet.vtm. The definition files are organized in
language directories to prevent possible name conflicts between various markup
languages.
Whenever you make changes to a VTM file or create a new one, save the file, then
press Ctrl+Alt+Shift+C to apply the changes.
The following features use tag definition files:
•
Tag Inspector
•
Tag Tips
•
Tag Insight
•
Tag Editor
Tag definition file structure
You can customize existing tag definitions and create new tag definition files. Every
tag editor file contains the following markup structure:
<tag>
<attributes>
… Defines tag attribute properties and behavior
</attributes>
<attribcategories>
… Defines logical grouping for tag attributes
</attribcategories>
<editorlayout>
… Defines the layout of a tag editor
</editorlayout>
<taglayout>
… Defines the tag generation template
</taglayout>
<tagdescription>
… HTML-based documentation for the tag
</tagdescription>
</tag>
Содержание ColdFusion Server 5
Страница 18: ...xviii About This Book...
Страница 26: ...8 Chapter 1 Setting Up the Product...
Страница 42: ...24 Chapter 2 Configuring Browsers and Servers...
Страница 60: ...42 Chapter 3 Exploring the Workspace...
Страница 100: ...82 Chapter 6 Editing Pages...
Страница 126: ...108 Chapter 7 Using Web Development Languages...
Страница 212: ...194 Chapter 13 Customizing the Development Environment...
Страница 320: ...302 Glossary...