My Account   Contact Us    
  
» HomeProductsSupportDeveloper CommunityCompany
Unnecessary CFOUTPUT tag
Some tags implicitly define cfoutput for you such as cfmail, and cfquery

Type: bugprone
Severity: (3)

Incorrect example
<cfmail ...>
 Hello <cfoutput>#name#</cfoutput>, ...
</cfmail>

Resolution

<cfmail ...>
 Hello #name#, ...
</cfmail>
Explanation

The cfoutput tag is not needed inside the cfmail or the cfoutput tags, it is implicitly turned on. The presense of cfoutput tags may cause an error to be thrown.

Sign up for our newsletter: | Subscribe with RSS: RSS
© ActivSoftware 1999 to 2005 | Privacy Statement