154
<MYTAG COLOR="$${clrBGColor}"$${Spacer}FACE="$${fontFace}
"$${Spacer}SIZE="$${txtSize}">
</TAGLAYOUT>
The template would generate a tag based on the following layout preference:
LINEAR:
<MYTAG COLOR="White" FACE="Arial" SIZE="10">
NONLINEAR:
<MYTAG COLOR="White"
FACE="Arial"
SIZE="10">
Using TAGDATAUnknownAttributes
The
TagDataUnknownAttributes
tag contains the list of attributes that are contained
in the original tag string but are not supported by the editor. For example, you can
write an editor for the HTML tag
INPUT
. You can provide editing capabilities for all
basic attributes, however the editor will not cover JavaScript event attributes (for
example,
onCLick
). In order not to lose these "unknown" attributes during the editing
process, the editor engine creates the
TAGDATAUnknownAttributes
variable
containing a list of unknown attributes together with their original values. You can use
this variable to "stamp" all the unsupported attributes at the end of the tag you are
generating.
<TAGLAYOUT>
<MYTAG COLOR="$${colorBGColor}"
<WIZIF TAGDATAUnknownAttributes NEQ
""> $${TAGDATAUnknownAttributes}</WIZIF>>
</TAGLAYOUT>
If you edited a tag
<MYTAG COLOR="Blue" onClick="CallThis">
, the above template
would preserve the
onClick
attribute despite the fact that it is not supported in the
editor. The editor is also intelligent enough to list the unknown attributes in a linear or
indented format based on a user’s layout preferences, as described in the previous
section.
Содержание COLDFUSION STUDIO 4.5-USING COLDFUSION...
Страница 1: ...Allaire Corporation Using ColdFusion Studio ColdFusion Studio 4 5 for Windows 95 98 NT4 2000...
Страница 16: ...xvi Contacting Allaire...
Страница 90: ...82...
Страница 130: ...122...
Страница 133: ...141 Two VTML tags CAT and E let you customize the content of these dialog boxes...
Страница 182: ...190...