|
Inside ColdFusion MX Authors: Cummings J., Ross N., Sen R. Published year: 2005 Pages: 206-209/579 |
CFCOMPONENT
<cfcomponent>
extends ...
output = "yes" or "no"
<cffunction ...>
...
</cffunction>
</cfcomponent>
DescriptionThis is the tag used to create ColdFusion components (CFC) and is saved as a CFC file. It may contain additional functionality that within CFFUNCTION tags that define methods . All code that is not contained within CFFUNCTION tags is executed when the CFC is first called. A component can be invoked in several ways including from a CFINVOKE tag, from a URL, from within CFScript, through a web service, or from Flash code. Attributes
|
CFCONTENT
<cfcontent
type = "file_type"
deleteFile = "Yes" or "No"
file = "filename"
reset = "Yes" or "No">
DescriptionSets the file or Multipurpose Internet Mail Extension (MIME) content type returned by the current page. It can also specify the name of a file to return with the page. Note that this tag must be enabled in the ColdFusion Administrator. Attributes
|
CFCOOKIE
<cfcookie
name = "cookie_name"
value = "text"
expires = "period"
secure = "Yes" or "No"
path = "url"
domain = ".domain">
DescriptionDefines web browser cookie variables , including expiration and security options. Attributes
|
CFDEFAULTCASE
<cfdefaultcase>
...
</cfdefaultcase>
DescriptionUsed with the CFSWITCH and CFCASE tags. |
|
Inside ColdFusion MX Authors: Cummings J., Ross N., Sen R. Published year: 2005 Pages: 206-209/579 |