Why would that matter? The cfdocument isn't generating screen output, it is 
supposed to create a file.

I'll try adding cfoutput tags inside the cfdocument. Thanks for the idea!

Steve


-----Original Message-----
From: Jochem van Dieten [mailto:[email protected]] 
Sent: Wednesday, November 02, 2011 9:52 AM
To: cf-talk
Subject: Re: CFDocument problem - direct call works cfinclude doesn't


On Wed, Nov 2, 2011 at 2:43 PM, DURETTE, STEVEN J wrote:
> I've searched and my google-foo is failing me today.  I have a very simple 
> page that generates a pdf file. When called directly it works just fine, 
> however if the file is included through a cfinclude then the error: 
> "cfdocument tag has no body. It must have a body or a source file or URL." 
> comes up every time.

The page that does the cfinclude probably has a different setting for
enablecfoutputonly.

Jochem


-- 
Jochem van Dieten
http://jochem.vandieten.net/



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

Reply via email to