User Guide

146
Defining enumerated values
Enumerated values can be specified for attributes of TYPE="Enumerated." A subtag
ATTRIBOPTION is used to specify such values:
<ATTRIB NAME="CHARSET" TYPE="ENUMERATED">
<ATTRIBOPTION VALUE="iso-8859-1" CAPTION="Western" />
<ATTRIBOPTION VALUE="iso-8859-2" CAPTION="Central European
(ISO)" />
<ATTRIBOPTION VALUE="iso-8859-8" CAPTION="Hebrew
(ISO-Visual)" />
</ATTRIB>
The optional CAPTION attribute specifies the form in which the option appears in the
drop-down lists, while the VALUE attribute specifies the underlying value used by the
attribute.
The following table describes the ATTRIB tag.
ATTRIB Tag Attributes
NAME Name of the attribute.
CONTROL (Optional) Use to populate the attribute value to a specific tag editor
control when editing existing tags.
TYPE (Optional) Type of the value expected for the attribute:
TEXT (default) free text content
ENUMERATED a list of enumerated values
COLOR a color value (name or hex)
FONT font name or font family
STYLE a style definition
FILEPATH a full file path
DIRECTORY a directory path
FILENAME file name only
RELATIVEPATH a relative representation of the path
FLAG an ON\OFF attribute containing no value
The following are available in ColdFusion Studio and JRun Studio ONLY:
QUERYNAME - a record set name
EXPRESSION - a language expression