User Guide

cfapplet 49
cfapplet
Description
This tag references a registered custom Java applet. To register a Java applet, in the ColdFusion
Administrator, click Extensions > Java Applets.
Using this tag within a
cfform tag is optional. If you use it within cfform, and the method
attribute is defined in the Administrator, the return value is incorporated into the form.
Category
Forms tags
Syntax
<cfapplet
appletSource = "applet_name"
name = "form_variable_name"
height = "height_in_pixels"
width = "width_in_pixels"
vSpace = "space_above_and_below_in_pixels"
hSpace = "space_on_each_side_in_pixels"
align = "alignment_option"
notSupported = "message_to_display_for_nonJava_browser"
param_1 = "applet_parameter_name"
param_2 = "applet_parameter_name"
param_n = "applet_parameter_name">
See also
cfform, cfobject, cfservlet
History
ColdFusion MX:
Removed the requirement that you use this tag within a cfform tag.
Changed the behavior when this tag is used within a cfform tag; if the method attribute is
defined in the Administrator, the return value of the applet’s method is incorporated into the
form.
Attributes
Attribute Req/Opt Default Description
appletSource Required Name of registered applet
name Required Form variable name for applet
height Optional Height of applet, in pixel
width Optional Width of applet, in pixels
vSpace Optional Space above and below applet, in pixels
hSpace Optional Space on left and right of applet, in pixels