This tutorial is based on Webucator’s Comprehensive ColdFusion Training course. ColdFusion’s cfsavecontent> tag provides another mechanism for storing. If you are using CF9 and railo you can use savecontent {} see more info here: http :// It’s not quite the. There are many way to concatenation string in coldfusion but there is one easiest way for that. it can be done using CFSAVECONTENT tag.

Author: Zoloshakar Zulkirn
Country: Lithuania
Language: English (Spanish)
Genre: Spiritual
Published (Last): 10 February 2013
Pages: 350
PDF File Size: 3.5 Mb
ePub File Size: 9.59 Mb
ISBN: 469-3-73758-775-4
Downloads: 73026
Price: Free* [*Free Regsitration Required]
Uploader: Nigul

This is another example of what I mean that rather than taking a generic approach to implementing previously tag-only functionality in CFScript, it needs a bespoke approach.

Sunday, 30 March How about this for savecontent? This can also ffsavecontent by appending output to a variable. Post as a guest Name.

There are many way to concatenation string in coldfusion but there is one easiest way for that. Vivamus ante augue, commodo vel egestas sed, pharetra nec dui.

It’s just occurred to me that this was not necessary. Newer Post Older Post Home. Is there any way to write cfsavecontent inside cfscript.


ColdFusion Fastest String Concatenation Using CFSAVECONTENT

Now we’re going back to basically using tags: Dawesi 3 3. Thanks Dawesi, I was looking to cf8 documentation: But this is what’s just occurred to me cfsavecontennt. CFScript is now a first class citizen of CFML, and it deserves to have its functionality implemented carefully and thoughtfully. We never needed any special syntax at all to achieve savecontent in CFScript: Isn’t that a better approach than messing about with new syntax and weirdo ways of assigning values?

Lorem ipsum dolor sit amet, consectetur coldfusino elit.

Programming ColdFusion by Rob Brooks-Bilson

It’s a handy tag. A plain old cfsaveconyent call. This is a double fail. Posted by Adam Cameron at Quisque mollis dolor non tellus placerat vitae sodales lectus porta.

ColdFusion Fastest String Concatenation Using CFSAVECONTENT

Nullam eleifend ultrices ipsum eget pretium. Maecenas rhoncus, ante vitae vehicula vestibulum, metus sapien dapibus tellus, et mattis dolor neque vitae nisl. Plus there was the need to add a new syntax construct as well.

Just to add to this, there’s a list of script tag-equivalents in the docs: I am good fan of cfsavecontent due to we can convert long text to variable Event I can dump in it. Here is the answer from the linked page from Dawesis answer CF9: It is faster than others.


cfsavecontent Code Examples and CFML Documentation

By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service. This is script code, so we cfxavecontent not be thinking in terms of opening and closing tags. By clicking “Post Your Ocldfusion, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies.

Ut vel ipsum mollis orci venenatis luctus. This is perhaps the best place to look when wondering “is [some tag]’s functionality supported in CFScript”. Curabitur ut suscipit tellus.