Adobe 38043755 - ColdFusion Enterprise - Mac Administration Manual page 47

Configuring and administering
Hide thumbs Also See for 38043755 - ColdFusion Enterprise - Mac:
Table of Contents

Advertisement

CONFIGURING AND ADMINISTERING COLDFUSION 10
Using the ColdFusion Administrator
• Code:Identifies the name of the file that contains the applet subclass.
• Method: If applicable, this column identifies the method name used in the name attribute of the cfapplet tag.
• Code Base: This area identifies the directory that contains the applet components.
Add/Edit Applet page
To register or modify a Java applet in ColdFusion, use the Add/Edit Registered Java Applet page. Registering an applet
lets you use the
tag.
cfapplet
Register a Java applet or modify the registration
If you are registering a new Java applet, install the Java class files and any other files required for the class. Make a
1
note of the installation path, because you must specify the code base arguments when you register the applet.
To access the Add/Edit Registered Java Applet page:
2
• For new registration, select Extensions > Java Applets, and click Register New Applet. The Add/Edit Registered
Java Appletpage appears.
• For existing registration, in the Registered Java Applets table, click the name of the Java applet registration that
you want to view or modify.
On the Add/Edit Registered Java Applet page, specify or modify the following information:
3
Option
Description
Applet Name
Provide a name for the Java applet.
Code
Identify the name of the file that contains the applet subclass. This filename is relative to the code
base URL. The *.class file extension is not required.
Code Base
Provide the URL of the code base; the directory that contains the applet components. The applet
class files must be located within the web browser root directory; for example,
http://<servername>/classes.Note that this field is not required if the Java applet components are
contained in a JAR file. For more information, see the Archive option.
Archive
(Optional) If the Java applet components are stored in a jar file, enter the
text box.
Method
(Optional) Specify the method name in the applet that returns a string value. This method name is
used in the name attribute of the
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 on each side of the applet.
Align
Select an alignment option.
Not
Specify a message that will be displayed by browsers that do not support Java applets. You can
supported
override this message with a different message
message
Parameter
Enter a name for each required applet parameter. Your Java applet typically provides the parameter
name
name needed to use the applet. Enter each parameter in a separate parameter field.
Value
Enter a default value for every parameter name specified. Click Add to add the values for the
parameters. Your applet documentation provides guidelines on valid entries.
cfapplet
tag to populate a form variable with the method's value.
attribute in the
notsupported
Last updated 7/9/2012
filename in the Archive
jar
tag.
cfapplet
42

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 10

Table of Contents