I suppose you didn't try to load a src file with the extension .cfm
and use that template to set the content type to pdf with cfcontent
and load the pdf that way?

I have seen it happen from time to time with the report displaying
giberish and that has been my solution with cached content.


On 10/24/07, Luke Fromhold <[EMAIL PROTECTED]> wrote:
> Thanks for the suggestion Rob. Getting cfreport to save the report to a
> file, then calling it in the cfwindow is still producing the gibberish.
> Running the cfreport directly in the browser works great and so does calling
> the saved pdf though.  So I thought remove the cfreport component all
> together and just try opening some other pdf in the cfwindow.. same problem.
>
>
> I'm thinking this is heading towards the conclusion that the cfwindow can't
> open pdf or flash types?  But can anyone give this a try and confirm/deny
> that this is the case? It really would be the perfect solution for what I'm
> after.
>
> -----Original Message-----
> From: Rob Parkhill [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 24 October 2007 3:07 AM
> To: CF-Talk
> Subject: Re: cfreport question
>
> Luke,
>
> do you have the filename attribute set for your cfreport tag? If this isn't
> set it basically outputs the code for a PDF file into HTML, making well
> gobbledegook...
>
> Try setting a filename and then your overwrite attributes for the cfreport
> tag.
>
> I have the following:
>
> <cfwindow
>       closable="true"
>       draggable="true"
>       name="Test"
>       modal="false"
>       initshow="true"
>       height="350"
>       width="325"
>       title="Test"
>       x="600"
>       y="150">
>            <cfreport format="pdf"
>                      filename="test.pdf"
>                      overwrite="yes"
>                      template="reports/newcoldfusionreport.cfr">
>                 <cfreportparam name="name value="1">
>            </cfreport>
> </cfwindow>
>
> And it generated a PDF that I could find on my local machine and if I wanted
> to code in reference to it, I could.
>
> HTH,
>
> Rob
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291942
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to