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: JoJorn Voodooshakar
Country: Ukraine
Language: English (Spanish)
Genre: Education
Published (Last): 7 September 2013
Pages: 303
PDF File Size: 7.68 Mb
ePub File Size: 15.96 Mb
ISBN: 468-7-17565-310-7
Downloads: 61957
Price: Free* [*Free Regsitration Required]
Uploader: Moogushakar

That is very handy.

GB in SQL Server – Coldfusion Database Access

It worked for me! I had a query that I moved into a custom tag. I have tried saveasname, mimetype but nothing seems to work, it still puts the. As I was helping someone with this iss Looking at the code above, can anyone see a reason why IE9 would not render the download dialog box for a Word document? But I’m guessing you must have had a reason to make it a variable.

On the server I have a CF script whose job it is to upload lit Looks like I need another solution for this. Enter your email address to subscribe to this blog. By using our site, cd8 acknowledge cfxontent you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service.

I setup a FTP No sooner did I post a comment than I realised my error. How did you get to the bottom of this! Removing the trailing slash worked for me too CF8. Travis, I am thinking it is an IE9 issue as well. That means that after you call the getMimetype function you need to check to make sure that the variable contains a string. If anyone comes across this post and is still looking for a solution, I was able to get this to work by passing a variable to cfcontent.


If your page has created any other output, don’t forget the Reset cfconteny as well: So, I tried to create a simple-as-possible case where this happens. Can you explain what you’re thinking is?

Bug in ColdFusion’s cfcontent within CustomTag execution end

Saved me some time and headache. Cfconteht as a guest Name. Don’t know if that makes a difference, but that’s where I’m heading. 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 it’s used within.

I’ll try it in the morning when my brain isn’t quite so fried! So, we have a popup box that allows a user to add some information. The page just hangs waiting for a response, it appears. A file doesn’t have such an attribute.

I’ve blogged the technique Jon Wolski shows above with a full working example that also shows how you can embed images into an HTML document: Have them both, and you definitely get some sort of bug.

This might help someone. This NAME attribute is simply an interesting alternative.

I know this is an old postso from the CF9 timeframe. Cfconteht for taking care of that, Dan. In order to clean out the output, I’m using the following ColdFusion code snippet to clear the output buffer:. Have something to contribute to this discussion?

Filesize was way too large for some reason. I’ll have to try that out when we move to BD 7.


Thank you, I can’t recommend it enough. This topic came about from the desire to stream files to the browser. The code was written for CF8 IE8and everything works just fine.

This may not be news to some, but it was to me. That said, something still feels “buggy” though because if you exit the template hault the START mode of executionyou still shouldn’t see the output twice – it would only jump to the body which you don’t have and then on to the END mode execution, which would only show once.

: Bug in ColdFusion’s cfcontent within CustomTag execution end

Sounds like IE9’s problem. Sign up using Email and Password. One thing that may trip up readers is that you use a variable called boundary, without explaining to folks what it is. Access on 64bit ColdFusion? Also, do you mean to ask how to do it from CF, necessarily? Use Coldfusion rereplace and replace functions cfxontent change the filename to something that doesnt have spaces or special characters. If you have a document storage application or a data export application you know cfcontet I mean.

You should check that out. Blog provided and hosted by CF Webtools.

Author: admin