I use cfdump in cfmail all the time, and it works fine for me (we're
on CF9 as well).  Are you sure you're using the HTML format?

On Tue, Nov 30, 2010 at 12:43 PM, Sean Henderson
<[email protected]> wrote:
>
>>On 11/30/2010 11:23 AM, Sean Henderson wrote:
>>> CF9 workaround?
>>
>>The output format property of CF9 that allows you only output a text
>>version of the cfdump content?
>
> Well, except I need the markup, just not the extra style or javascript.  It 
> also appears that CFDUMP generates the style and javascript tags for each 
> time it is called.
>
> The real issue here is that CFDUMP used to work properly inside a CFMAIL tag 
> in CF6, and now in CF9, it either does not work at all, or spews a bunch of 
> unhidden javascript into the body of the email.
>
> Regular (not in CFMAIL) example (angle-brackets removed):
>
> body
>        cfset foo=queryNew("bar")
>        cfset dummy=queryAddRow(foo,1)
>        cfset dummy=querySetCell(foo,"bar","bat")
>        cfset REQUEST.cfdumpinited=false
>        cfdump var="#foo#"
>        cfdump var="#REQUEST#"
> /body
>
> Sean
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339634
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to