User Guide

168 Chapter 9 Building Dynamic Forms
Applet registration fields
The following table explains the applet registration fields:
Field Description
Codebase Enter the base URL of the applet: the directory that
contains the applet components. The applet class files
must be located within the Web browser root directory.
Example:
http://servername/classes
Code This is the name of the file that contains the compiled
applet. The filename is relative to the code base URL.
The *.class file extension is not required.
Method Enter the name of a method in the applet that returns a
string value. If you specify the method name in the
cfapplet tag name attribute, the value returned by the
method is available in the forms action page as
Form.name. If the applet has no method, leave this
field blank.
Height Enter a measurement in pixels for the vertical space
for the applet.
Width Enter a measurement in pixels for the horizontal space
for the applet.
Vspace Enter a measurement in pixels for the space above
and below the applet.
Hspace Enter a measurement in pixels for the space on each
side of the applet.
Align Choose the alignment that you want.
Java Not Supported Message This message is displayed by browsers that do not
support Java applets. If you want to override this
message, you specify a different message in the
cfapplet notsupported attribute.
Parameter Name Enter a name for a required applet parameter. Your
Java applet typically provides the parameter name
needed to use the applet. Enter each parameter in a
separate parameter field.
Value For every parameter you enter, define a default value.
Your applet documentation provides guidelines on
valid entries.