I figured it would be something straight-forward like that. :o)

Thanks, Ray!

Rick

-----Original Message-----
From: Raymond Camden [mailto:[email protected]] 
Sent: Tuesday, May 22, 2012 3:09 PM
To: cf-talk
Subject: Re: How to prevent cfhtmlhead content from being inserted into
cfmail...


On Tue, May 22, 2012 at 1:26 PM, Rick Faircloth
<[email protected]> wrote:
>

> Is there any way to prevent the JS being output using cfsavecontent and a
> variable
> in the CFC from ending up in the JSON data return?

Sure. In your onRequestStart, simply check the requested file. If it
ends in .cfc, stop doing that.



-- 
===========================================================================
Raymond Camden, Adobe Developer Evangelist

Email : [email protected]
Blog : www.raymondcamden.com
Twitter: cfjedimaster



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:351288
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to