View comments | RSS feed

cfsilent

Description

Suppresses output produced by CFML within a tag's scope.

Category

Data output tags, Page processing tags

Syntax

<cfsilent>
...
</cfsilent> 

See also

cfcache, cfflush, cfheader, cfhtmlhead, cfinclude, cfsetting

Usage

This tag requires an end tag.

Example

<h3>cfsilent</h3>

<cfsilent>
  <cfset a = 100>
  <cfset b = 99>
  <cfset c = b-a>
  <cfoutput>#c#</cfoutput>
</cfsilent>

<p>Even information within cfoutput tags does not display, within a 
cfsilent block.<br>
b-c = 
<cfoutput>
  #c#
</cfoutput>
</p>

ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting

Version 6

Comments are no longer accepted for ColdFusion MX. ColdFusion 8 is the current version.

Comments


Choopernickel said on Mar 28, 2003 at 5:17 PM :
The example shown gives "b-c=<cfoutput>#c#</cfoutput>" when c is clearly calculated as b-a.

Minute, but I just noticed it.

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt37.htm