Chapter 18: Building Custom CFAPI Tags
321
Returns:
Returns true if the tag contains the DEBUG attribute otherwise returns false.
See Also:
Response.writeDebug
Interface Response
public abstract interface Response
Interface to response generated from a CustomTag. This interface includes
methods for writing output, generating queries, and setting variables within the
calling page.
Method Detail
write
public void write(String output)
Outputs text back to the user.
The following example outputs the value of the DESTINATION attribute:
response.write( "DESTINATION = " +
request.getAttribute("DESTINATION") ) ;
Parameters:
output
— Text to output
setVariable
public void setVariable(String name,
String value)
throws IllegalArgumentException
Method Summary
Query
addQuery(String name, String[]
columns)
Adds a query to the calling template.
void
setVariable(String name, String value)
Sets a variable in the calling template.
void
write(String output)
Outputs text back to the user.
void
writeDebug(String output)
Writes text output into the debug stream.
Summary of Contents for COLDFUSION 4.5-DEVELOPING WEB
Page 1: ...Allaire Corporation Developing Web Applications with ColdFusion ColdFusion 4 5...
Page 14: ...xiv Developing Web Applications with ColdFusion...
Page 26: ...xxvi Developing Web Applications with ColdFusion...
Page 34: ...8 Developing Web Applications with ColdFusion...
Page 70: ...44 Developing Web Applications with ColdFusion...
Page 84: ...58 Developing Web Applications with ColdFusion...
Page 114: ...88 Developing Web Applications with ColdFusion...
Page 148: ...122 Developing Web Applications with ColdFusion...
Page 174: ...148 Developing Web Applications with ColdFusion...
Page 208: ...182 Developing Web Applications with ColdFusion...
Page 244: ...218 Developing Web Applications with ColdFusion...
Page 274: ...248 Developing Web Applications with ColdFusion...
Page 288: ...262 Developing Web Applications with ColdFusion...
Page 300: ...274 Developing Web Applications with ColdFusion...
Page 350: ...324 Developing Web Applications with ColdFusion...
Page 362: ...336 Developing Web Applications with ColdFusion...