Tip : Using cfdump inside CFscript
One simple tip for the day, How to use cfdump inside the cfscript block !!!
cfscript block does not support cfdump tag or indeed any tag inside it. So the trick is to create function which dumps the value using cfdump and call the function inside cfscript by passing the variable as parameter.
See the code
1 2 3 4 5 6 7 | <CFFUNCTION NAME="MyDump"> <CFARGUMENT NAME="OBJ" Required="TRUE"> <CFDUMP VAR="#Obj#"> </CFFUNCTION> <CFSCRIPT> MyDump(Var1); </CFSCRIPT> |
1 Comment to “Tip : Using cfdump inside CFscript”
Post comment
Connect me
Recent Posts
- Tip : Getting unsorted query columns in coldfusion
- Tip : Show hide columns in cfdump
- Tip : Using cfdump inside CFscript
- What is Augmented Reality ?
- Coldfusion 9 : Feature improvement history
Categories
Blogroll
Tags
Adventure
Android
augmented
Augumented
avatar
cf8
CF9
cfdump
cfquery
Coldfusion
Coldfusion programming technology features new
compare
comparison
debugging
Definitions
design
Digitization
dynamic
element creation
form
future
getmetadata
HTML
Inspirations
Iphone
Javascript
Jquery
movie
Movies
mustwatch
mx7
new feature
programming
project
Project Management
Reality
realtime
si-fi
Technology
tip
top
tricks
validation
virtual world
web development
Archives
- February 2010 (2)
- January 2010 (5)
- December 2009 (5)
CF Libs
- DeMoronize September 2, 2010Fixes text using Microsoft Latin-1 "Extentions", namely ASCII characters 128-160. […]
- readPropertiesFile September 1, 2010Load and parse a .properties file into a struct […]
- lastDayofWeek August 30, 2010Returns last day of the week, assumes Saturday is the last day. […]
- sitemapPing August 26, 2010Ping multiple search engines with your sitemap.xml file and get the server response. […]
- isURL August 5, 2010A quick way to test if a string is a URL. […]
- indentXml July 30, 2010indentXml pretty-prints XML and XML-like markup without requiring valid XML. […]
- verifyMailServer July 1, 2010Verifies a mail server connection. […]
- getFunctionHint July 1, 2010You give me a function and I return the hint. Useful for demo and documentation pages. […]
- getUrlRelativeToWebRoot June 23, 2010Pass in file path to web root and a file and it returns URL relative to site root. […]

nerdscubecom
I tried out this, its working fine…