Defining Attributes; Defining Attribute Categories - MACROMEDIA COLDFUSION STUDIO 5-USING COLDFUSION 5 STUDIO Use Manual

Table of Contents

Advertisement

Creating Tag Definitions
You can create the definition file in three ways:
Write it manually.
Create it from an existing tag definition file.
Use the Tag Definitions Library dialog box to add a tag and edit the generated file.

Defining attributes

The
attributes
The
attributes
demonstrates the definition of four tag attributes:
<attributes>
<attrib name="value">
<attrib name="title">
<attrib name="alt">
<attrib name="align">
</attributes>
In most cases, features such as Tag Insight require more than just the names of the
attributes. You can use the
Attribute value types
Enumerated values for the
The optional
drop-down lists, while the
attribute.

Defining attribute categories

Use the
used to organize the attributes when viewed in the Tag Inspector. The
attribcategories
demonstrates the definition of four categories.
<attribcategories>
<attribgroup name="appearance"
elements="background,bgproperties,leftmargin,,topmargin"/>
<attribgroup name="colors"
elements="bgcolor,vlivk,alink,link,text"/>
<attribgroup name="misc"
elements="gizmo"/>
</attribcategories>
block defines attributes inside the main
block can only contain attrib tags. The following example
attrib
align
attribute specifies the form in which the option appears in the
caption
value
section to define attribute categories. The categories are
attribcategories
block can only contain
tag
tag to define the following attributes:
attribute)
attribute specifies the underlying value used by the
tags. The following example
attribgroup
175
block.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION STUDIO 5-USING COLDFUSION 5 STUDIO and is the answer not in the manual?

This manual is also suitable for:

Coldfusion studio 5

Table of Contents