Adobe COLDFUSION 9 Manual page 889

Developing applications
Hide thumbs Also See for COLDFUSION 9:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Requesting and Presenting Information
Ajax plumbing enhancement in ColdFusion 9.0.1
ORM CFCs support the attribute
By default,
remotingfetch
While serializing ORM CFCs, ColdFusion introspects the
any relationship information.
If it is set to
, relationship information is shown. If circular reference is detected, only one level of relationship is
true
shown.
Debugging Ajax applications
ColdFusion provides a set of JavaScript functions that log information to a pop-up display window. ColdFusion also
logs many standard client-side activities to the window.
Display logging information
To display the logging window you must do the following:
Enable ColdFusion to send information to the logging window
1
2
Request logging window information in the main CFML page request.
Enable logging output
To enable ColdFusion to send information to the logging window, do the following:
• Select the Enable Ajax Debug Log Window option on the ColdFusion Administrator > Debugging & Logging >
Debug Output Settings page. To view exception messages in the logging window, select the Enable Robust
Exception Information option on the Debug Output Settings page.
• Make sure that the IP address of the system where you do the debugging is included on the ColdFusion
Administrator > Debugging & Logging > Debugging IP List page of the ColdFusion Administrator. By default this
list includes only 127.0.0.1.
Display logging information for a page
To display the logging window when you request a CFML page in the browser, specify an HTTP parameter of
in the URL when you request a page, as in the following URL:
http://localhost:8500/myStore/products.cfm?cfdebug
After the debug log window appears, it continues running until you navigate to a new page in the browser. The logging
window includes options that let you filter the messages by either or both of the following criteria:
• Severity
• Category
You can select to display logging information at any combination of four levels of severity: debug, info, error, and
window. The specific logging function that you call determines the severity level.
The logging window always displays options to filter the output by using standard categories: bind, global, http,
LogReader, and widget. (For information on these categories, see
page 885.) It also displays a filter option for each custom category that you specify in a ColdFusion logging call.
ColdFusion does not limit the number of categories you create, but create only as many categories as you require to
debug your application effectively.
for a property.
remotingfetch
is set to
.
false
Last updated 8/5/2010
property and if it is
remotingfetch
"Standard ColdFusion logging
884
, does not return
false
cfdebug
messages" on

Advertisement

Table of Contents
loading

Table of Contents