Java Customization And Configuration; Implementing C++ Cfx Tags; Implementing Java Cfx Tags; Registering Cfxs - MACROMEDIA COLDFUSION 4.5-DEVELOPING WEB Develop Manual

Developing web applications with coldfusion
Table of Contents

Advertisement

Chapter 18: Building Custom CFAPI Tags
DebugQuery
// initialize a query with name and columns
public DebugQuery( String name, String[] columns )
throws IllegalArgumentException ;
// initialize a query with name, columns, and data
public DebugQuery( String name, String[] columns, String[][] data )
throws IllegalArgumentException ;

Java Customization and Configuration

You use the ColdFusion Administrator to customize your Java development
environment, such as customizing the Class Path, Java system properties, and
specifying an alternate JVM.

Implementing C++ CFX Tags

CFX tags built in C++ use the tag request object, represented by the C++ class
CCFXRequest. This object represents a request made from an application page to a
custom tag. A pointer to an instance of a request object is passed to the main
procedure of a custom tag. The methods available from the request object allow the
custom tag to accomplish its work. See the
detailed description of the CFXAPI classes and members.

Implementing Java CFX Tags

Implementing a Java CFX requires interaction with the
passed to the
ColdFusion queries will also interface with the
Reference" on page 311

Registering CFXs

To use a CFX tag in your ColdFusion applications, first register it in the Extensions, CFX
Tags page in the ColdFusion Administrator.
To register the tag in the CF Administrator:
1.
In the CF Administrator, open the Extensions > CFX Tags page.
2.
Enter
3.
Select the type of tag (either C++ or Java).
4.
Click Add to open the New CFX Tag page.
method. In addition, CFXs that need to work with
processRequest
for a detailed description of CFX Java object types.
in the Tag name and, optionally, a description.
CFX_MyNewTag
"C++ CFX Reference" on page 293
and
Request
object. See the
Query
289
for a
objects
Response
"Java CFX

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION 4.5-DEVELOPING WEB and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Coldfusion 4.5

Table of Contents