MACROMEDIA COLDFUSION 4.5-DEVELOPING WEB Develop Manual page 349

Developing web applications with coldfusion
Table of Contents

Advertisement

Chapter 18: Building Custom CFAPI Tags
query.setData( iRow, iFirstName, "John" ) ;
query.setData( iRow, iLastName, "Smith" ) ;
iRow = query.addRow() ;
query.setData( iRow, iFirstName, "Jane" ) ;
query.setData( iRow, iLastName, "Doe" ) ;
Parameters:
name
columns
Returns:
The Query that was added to the template.
Throws:
IllegalArgumentException - if the name parameter is not a valid CFML variable
name
See Also:
Query.addRow,
writeDebug
public void writeDebug(String output)
Writes text output into the debug stream. This text is only displayed to the end-
user if the tag contains the DEBUG attribute (you can check for this attribute using
the Request.debug member function).
The following example checks to see whether the DEBUG attribute is present, and
if it is then it writes a brief debug message:
if ( request.debug() )
{
}
Parameters:
output
See Also:
Request.debug
— The name of the query to add to the template
— The column names to be used in the query
Query.setData
response.writeDebug( "debug info" ) ;
— The text to output
323

Advertisement

Table of Contents
loading
Need help?

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Coldfusion 4.5

Table of Contents