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 method:
<CFX_MyCustomTag>
Other attributes can be passed to the Java CFX tag. Their values are available using the Request object passed to the processRequest method.
| Returns | Syntax | Description |
|---|---|---|
void |
processRequest(Request request, Response response) |
Processes a request originating from the CFX_mycustomtag tag |
Processes a request originating from the Java CFX tag.
public void processRequest(Request request, Response response)
Exception If an unexpected error occurs while processing the request.
| Parameter | Description |
|---|---|
| request |
Parameters (attributes, query, and so on.) for this request |
| response |
Interface for generating response to request (output, variables, queries, and so on.) |
ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting
Version 6
Comments are no longer accepted for ColdFusion MX. ColdFusion 8 is the current version.
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/coldfusion/6/CFML_Reference/CFXRef_Java3.htm