<CFSILENT> Tag - ColdFusion


>> Return to ColdFusion Tag Index

The <CFSILENT> tag allows you ...



  <CFSILENT> Comments from Macromedia LiveDocsLiveDocs Comments - coldfusion - 6.1 - htmldocs - tags-pc7.htm
The documentation on EVERY Coldfusion tag needs to display what the output is, the code also needs to be color-coded. Just so everybody knows, the output of the code is as follows:
---------------------
<h3>cfsilent</h3>



<p>Even information within cfoutput tags does not display within a
cfsilent block.<br>

b-a = -1

</p>
---------------------
None of the line breaks are created from the <cfset> tags, because of this, i suggest always using this code to reduce extra linebreaks that are uneeded.

The documentation should also provide a link to the function that eliminates all line breaks, except those within a CFOUTPUT tag. that way you can <cfsilent> all of your code, and the only code that is output is the code within the output tag. Just like PHP works with the <?PHP ... ?>, only text in the echo Echo 'my variable: $var'; gets output.

LiveDocs Comments - coldfusion - 6.1 - htmldocs - tags-pc7.htm
This tag is amazing at increasing performance in your CFML code. But it doesn't work with CFTRY if you wrap it around the CFTRY tag. I haven't tried it the other way yet or with cfscript's try control statement.



[Top]


Recommended Books

[Top]

Web Sites

[Top]

Copyright © 2003- 2008, Orville Paul Chomer, All Rights Reserved