Overview class libraries
The following Java interfaces are available for building ColdFusion custom CFXs in Java.
Interface
CustomTag interface
Query interface
Request interface
Response interface
CustomTag interface
public abstract interface CustomTag
Interface for implementing custom tags.
Classes that implement this interface can be specified in the CLASS attribute of the Java CFX tag.
For example, in a class MyCustomTag, which implements this interface, the following CFML code
calls the
MyCustomTag.processRequest
<CFX_MyCustomTag>
Other attributes can be passed to the Java CFX tag. Their values are available using the Request
object passed to the
Methods
Returns
Syntax
void
processRequest(Request request,
Response response)
processRequest
Description
Processes a request originating from the Java CFX tag.
770
Chapter 5: ColdFusion Java CFX Reference
Methods
processRequest
addRow
getColumnIndex
getColumns
getData
getName
getRowCount
setData
attributeExists
debug
getAttribute
getAttributeList
getIntAttribute
getQuery
getSetting
addQuery
setVariable
write
writeDebug
method:
method.
processRequest
Description
Processes a request originating from the
tag
CFX_mycustomtag