Chapter 18: Building Custom CFAPI Tags
Java CFX Reference
Contents
Interface CustomTag
Interface Query
Interface Request
Interface Response
Interface CustomTag
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, if I have a class
this interface then the following CFML code could be used to call the
MyCustomTag.processRequest method:
<CFX_MyCustomTag">
Additional attributes may also be passed to the Java CFX tag. The values of these
attributes are available via the Request object passed to the processRequest
method.
Method Summary
void
Method Detail
processRequest
public void processRequest(Request request,
Processes a request originating from the Java
Parameters:
request
processRequest(Request request, Response
response)
Response response)
throws Exception
— Parameters (attributes, query, etc.) for this request
which implements
MyCustomTag
Processes a request
originating from the
CFX_mycustomtag
tag.
CFX
311
tag.
Need help?
Do you have a question about the COLDFUSION 4.5-DEVELOPING WEB and is the answer not in the manual?
Questions and answers