User Guide

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 users layout preferences, as described in the previous
section.