Whatever message this page gives is out now! Go check it out!

Custom tag interface

Last update:
May 18, 2026
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.

Methods

ReturnsSyntaxDescription
void
processRequest(Request request{{, Response}} response)
Processes a request originating from the CFX_mycustomtag tag

processRequest

Description

Processes a request originating from the Java CFX tag.

Category

Syntax

public void processRequest(Request request, Response response)

Throws

  • Exception If an unexpected error occurs while processing the request.

Parameters

ParameterDescription
request
Parameters (attributes, query, and so on.) for this request
response
Interface for generating response to request (output, variables, queries, and so on)

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page