<CFSAVECONTENT> Tag - ColdFusion
>> Return to ColdFusion Tag Index
The <CFSAVECONTENT> tag allows you ...
<CFSAVECONTENT> Comments from Macromedia LiveDocs
LiveDocs Comments - coldfusion - 6.1 - htmldocs - tags-a29.htm
you must have <cfsetting enablecfoutputonly="no"> OR must surround all contents by a cfoutput If using cfsavecontent to extend flash based cfforms, or any other usage of this tag where the actual text of the contents is needed (not neccesarily running cfcode within it).
again, seems redundant to some, but this problem bugged me for a few hours not realizing why my actionscript wasnt executing.
LiveDocs Comments - coldfusion - 6.1 - htmldocs - tags-a29.htm
I just did an upgrade from CFMX 6,1,0,63958 to 6,1,0,83762.
I am getting "null pointer" errors when using cfsavecontent in certain situations; with the argument variable="variablename", this causes an error, but it didn't before.
When I change the syntax to
<cfsavecontent variable=variablename> (no quotes)
Now it works.
Is this a deliberate change, or perhaps broken by some other coincidence? is it related to this change:
http://www.macromedia.com/support/coldfusion/releasenotes/mx/mx61_fixed_bugs.html
look for the number 49504 ?
LiveDocs Comments - coldfusion - 6.1 - htmldocs - tags-a29.htm
You will need to use <cfoutput> tags around the output that you are saving if you want to capture the variable values, instead of the variable names! This might be obvious to others, but it wasn't to me.
[Top]
Recommended Books
COLDFUSION MX Web Application Construction Kit (5th Edition)
Authors: Ben Forta and Nate Weiss
1500 pages
[Top]
Web Sites
Macromedia
The makers of ColdFusion/ColdFusion MX.
ColdFusion Developer's Journal
Forta.com (ColdFusion Section)
Ben Forta is Macromedia's Senior Technical Evangelist. Here on his site find useful ColdFusion information.
Flash CFM
Flash and ColdFusion Development.
Handling file uploads without CFFILE
BLOG post by "Sam" on REWINDLIFE.COM gives insight into how to upload a file on your site if you are not allowed to use the CFFILE tag.
[Top]
Copyright © 2003- 2008, Orville Paul Chomer, All Rights Reserved
Home Page
Blog
How To
Chomer TV
The Show
Webcam Videos
Freeware
•
VB Mahjongg
Coding
•
ColdFusion
•
Javascript
•
Visual Basic
Other Places
Acoustic Eidolon
History Singers
Scobleizer
Beach Walks
Freshtopia
CSS Zen Garden