60
Administering ColdFusion Server
To register a CFX tag:
1.
Open the CFX Tags page in the ColdFusion Administrator.
2.
Enter a name for the CFX tag you are adding. Tag names must be prefixed with
CFX_
.
3.
Click Add to open the New CFX Tag page.
4.
Enter the path to the library you want to use or browse your system to locate the
library you want to use.
5.
Enter the procedure that implements the tag. The procedure name must
correspond with an existing procedure in the DLL or shared object you’ve
specified. Procedure names are case-sensitive.
6.
Click Keep library loaded to prevent reloading the library into memory each time a
referenced page is accessed.
7.
Enter a description and click Add to finish.
Registering a Java applet
The Applets page in ColdFusion allows you to register Java applets for use in
ColdFusion forms with the CFAPPLET tag. Registering the applet before using it in
ColdFusion applications allows you to encapsulate the applet in a simple, easy-to-use
interface. The CFAPPLET tag you use to place the applet can be used to override any
parameters you define in the Administrator Registered Applets page.
Before you can use CFAPPLET to place a Java applet in your CFFORM, you must
register the applet in the ColdFusion Administrator.
Applets Administrator page
You can use the CFAPPLET tag to place Java applets in a CFFORM. However, before you
can use the tag you need to register your applet using the ColdFusion Administrator.
Once your applet is registered with ColdFusion, using the CFAPPLET tag in your code
is very simple since all parameters are predefined in the Administrator. Since
parameters are predefined in the Administrator, you only need to specify parameter
values you want to override for a particular instance. With CFAPPLET, you could enter
just the applet source and the form variable name you want to use:
<CFAPPLET APPLETSOURCE="Calculator"
NAME="calc_value">
You can define all other parameters when you register the applet in the Administrator.
Using the HTML APPLET tag, you'd have to invoke all the applet's parameters every
time you wanted to use it in an page.
The new Registered Applets page in the ColdFusion Administrator allows you to
register Java applets you want to place in your ColdFusion pages with the CFAPPLET
tag.
Summary of Contents for COLDFUSION 4.5-ADMINISTRING COLDFUSION...
Page 1: ...Allaire Corporation Administering ColdFusion Server ColdFusion 4 5...
Page 10: ...x Administering ColdFusion Server...
Page 22: ...xxii AdministeringColdFusionServer...
Page 48: ...26 Administering ColdFusion Server...
Page 58: ...36 Administering ColdFusion Server...
Page 60: ...38 Administering ColdFusion Server Using ColdFusion in a Distributed Configuration 68...
Page 98: ...76 Administering ColdFusion Server...
Page 150: ...128 Administering ColdFusion Server...
Page 198: ...176 Administering ColdFusion Server...
Page 205: ...Chapter 6 Creating Scalable and Highly Available Web Sites 183 3 Click the DNS tab...