MACROMEDIA COLDFUSION MX 61-CFML Reference page 88

Cfml reference
Hide thumbs Also See for COLDFUSION MX 61-CFML:
Table of Contents

Advertisement

Attributes
Attribute
Req/Opt
type
Optional
deleteFile
Optional
file
Optional
reset
Optional
88
Chapter 2: ColdFusion Tags
Default
Description
The MIME content type of the page, optionally followed by a
semicolon and the character encoding. By default, ColdFusion
sends pages as text/html content type in the UTF-8 character
encoding.
The content type determines how the browser or client
interprets the page contents.
The following are some of the content type values you can use
include:
• text/html
• text/plain
• application/x-shockwave-flash
• application/msword
• image/jpeg
The following list includes commonly used character encoding
values:
• utf-8
• iso-8859-1
• windows-1252
• us-ascii
• shift_jis
• iso-2022-jp
• euc-jp
• euc-kr
• big5
• euc-cn
• utf-16
For example:
type = "text/html"
type = "text/html; charset=ISO-8859-1"
No
Applies only if you specify a file with the
• Yes: deletes the file on the server after sending its contents to
the client.
• No: leaves the file on the server.
Name of file whose contents will be the page output. When
using ColdFusion in a distributed configuration, the
attribute must refer to a path on the system on which the web
server runs. When you use this attribute, any other output on
the current CFML page is ignored; only the contents of the file
is sent to the client.
Yes
The
and
reset
specify a file, this attribute has no effect.
• Yes: discards output that precedes call to
• No: preserves output that precedes call to
case all output is sent with the specified type.
attributes are mutually exclusive. If you
file
attribute.
file
file
cfcontent
. In this
cfcontent

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents