TAG:CFDUMP
last edited by
denny
on 01-Oct-2011
|
cfDump
Syntax
<cfDump [abort="boolean"] [eval="any"] [expand="boolean"] [format="string"] [hide="string"] [keys="number"] [label="string"] [metainfo="boolean"] [output="string"] [show="string"] [showudfs="boolean"] [top="number"] [var="any"]> [</cfDump>]
[] = Optional attribute
Description
Outputs the elements, variables and values of most kinds of CFML objects. Useful for debugging. You can display the contents of simple and complex variables, objects, components, user-defined functions, and other elements.
Body
This tag may have a body.
Attributes
The attributes for this tag are fixed. Except for the following attributes no other attributes are allowed.
| Name | Type | Required | Description |
| abort | boolean | No | stops further processing of request. |
| eval | any | No | name of the variable to display, also used as label, when no label defined. |
| expand | boolean | No | expands views |
| format | string | No | specify the output format of the dump, the following formats are supported: - simple: - a simple html output (no javascript or css) - text (default when output equal console): plain text output (no html) - html (default when output equal "browser"): regular output with html/css/javascript - classic: classic view with html/css/javascript |
| hide | string | No | hide column or keys. |
| keys | number | No | For a structure, number of keys to display. |
| label | string | No | header for the dump output. |
| metainfo | boolean | No | Includes information about the query in the cfdump results. |
| output | string | No | Where to send the results: - console: the result is written to the console (System.out). - browser (default): the result is written the the browser response stream. |
| show | string | No | show column or keys. |
| showudfs | boolean | No | show UDFs in cfdump output. |
| top | number | No | The number of rows to display. |
| var | any | No | Variable to display. Enclose a variable name in pound signs. |
SideBar
User Login