May 24, Maybe try a different content type, this should work files. cfcontent. Jan 13, To output a Flashpaper format report, use a CFCONTENT type of . I know CFDocument only supports FlashPaper and PDF (as of CF8). TIA. Jun 11, Bug in ColdFusion’s cfcontent within CustomTag execution end. Removing the trailing slash worked for me too (CF8). Thank you!!.

Author: Mabei Taugis
Country: Egypt
Language: English (Spanish)
Genre: Environment
Published (Last): 22 March 2011
Pages: 485
PDF File Size: 13.84 Mb
ePub File Size: 8.12 Mb
ISBN: 802-3-86137-249-2
Downloads: 60130
Price: Free* [*Free Regsitration Required]
Uploader: Tokasa

No sooner did I post a comment than Cfcpntent realised my error. Sign up or log in Sign up using Google. It’s not perfect as I’ll explain – but here it is:.

Bug in ColdFusion’s cfcontent within CustomTag execution end

I’m developing a configurable report table tag that should also output the table for download as an excel-file, so discarding any output before the main tag, and completely aborting at the end of the tag, would be neat to avoid any disturbing HTML from the calling page.

I’ll try it in the morning when my brain isn’t quite so fried! I did some searching and found an explanation of it that suggests it can be any string so folks can either create such a variable or modify the 4 places cfcobtent used within.

Thanks for all the help. Instead, the variable is simply not set at all.

Barry, I’m not clear about your question. Just out of curiosity Sign up using Email and Cc8. One thing that may trip up readers is that you use a variable called boundary, without df8 to folks what it is. Managed Hosting Services provided by. I created a custom tag that only has the following: XML will ignore any special characters inside.


You should check that out. The first 2x “– boundary ” lines I had coded as “– boundary –“.

coldfusion – CF8 XML output problem with special character [SOLVED] | DaniWeb

The following cfcontenh precede the listing I posted earlier: If your page has created any other output, don’t forget the Reset attribute as well: Looking at the code above, can anyone see a reason why IE9 would not render the download dialog box for a Word document? I use this with a particular report I generate for external users. See my list of CF-based forums and mailing lists at http: Are you still running CF11? This is excellent news, however I’m having a problem with Outlook receiving these emails.

You can, in fact, send the report out as an attachment to cfmail. CFDocument still does not as of 8.

Cfocntent having the same problem currently. Charlie Arehart Related Categories: I have a CFC method somewhere that replaces around 30 commonly used symbols. This might help someone. If you try to use it you will get a “variable is undefined” error.

Error processing resource ‘ http: I think it’s too important for folks to miss as many, even Adobe folks, have said “it can’t be done”. This is just a simplified example to show off the issue. This NAME attribute is for when you don’t want to do that.


To get the latest PDF viewer, visit http: From that information, the handler function will manipulate that data, and use this logic to display the download dialog box for a Word document: That is very handy. Thank you, I can’t recommend it enough.

ColdFusion Muse: MIME Types, Coldfusion and You

For example, there is no mime mapping for “. January 13, I have tried saveasname, mimetype but nothing seems to work, it still puts the. Anyone got an idea how to save it to a file? Thanks, Todd, and happy to help, John. Of course, if you just did that above, you might as well not have bothered, right? But I’m guessing you must have had a reason to make it a variable.

If it has blank or special characters, it will cause this behavior. Can anyone give me an idea how to do this. You’re right, though, that it can be a great benefit. Saved me some time and headache. I just don’t think it’s in anyone’s interest to let comments on a blog entry go off on a real tangent.