Macromedia dreamweaver 8-extending dreamweaver User Manual
274
Tag Libraries and Editors
<tr>
<td valign="baseline" align="right" nowrap="nowrap">Type: </td>
<td nowrap="nowrap">
<select name="thetempaturescale"
<td valign="baseline" align="right" nowrap="nowrap">Type: </td>
<td nowrap="nowrap">
<select name="thetempaturescale"
id="attr:cfargument:tempaturescale" attname="tempaturescale"
editable="false" style="width:200px">
editable="false" style="width:200px">
</select>
</td>
</tr>
</table>
</div>
</body>
</html>
</td>
</tr>
</table>
</div>
</body>
</html>
2.
Verify that the tag editor is working by performing the following steps:
■
Launch Dreamweaver.
■
Type
cfweather
in Code view.
■
Right click on the tag.
■
Select Edit Tag
cfweather
from the Context menu.
If the tag editor launches, it has been created successfully.
Adding a tag to Tag Chooser
To add the
cfweather
tag to the Tag Chooser:
1.
Modify the TagChooser.xml file in the Configuration/Taglibraries/CFML folder by
adding a new category called Third Party Tags, which features the
adding a new category called Third Party Tags, which features the
cfweather
tag, as shown
in the following example:
<category name="Third Party Tags" icon="icons/Elements.gif"
reference='CFML'>
<element name="cfweather" value='cfweather zip=""
temperaturescale="fahrenheit">' />
<element name="cfweather" value='cfweather zip=""
temperaturescale="fahrenheit">' />
</category>
2.
Verify the
cfweather
tag now appears in the Tag Chooser by performing the following
steps:
■
Select Insert > Tag.
■
Expand the CFML Tags group.
■
Select the Third Party Tags group that appears at the bottom of the Tag Chooser.
NO
TE
On multiuser platforms, the TagChooser.xml file also exists in the user’s Configuration
folder. For more information regarding multiuser platforms, see the discussion in
folder. For more information regarding multiuser platforms, see the discussion in