Adobe COLDFUSION 9 Manual page 672

Developing applications
Hide thumbs Also See for COLDFUSION 9:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Flex and AIR Integration in ColdFusion
chartHeight = "500"
chartWidth = "600"
dataBackgroundColor = "yellow"
font = "ariel"
fontBold = "yes"
fontItalic = "yes"
fontSize = "12"
foregroundColor = "red"
gridLines = "2"
labelFormat = "number"
markerSize = "10"
showBorder = "yes"
showLegend = "yes"
showMarkers = "yes"
showxGridLines="yes"
showyGridLines="yes"
tipBgColor="blue"
tipStyle = "MouseOver"
title = "AIR Integration testing"/>
</mx:Application>
Using the Document class
The Document class is the proxy for the ColdFusion Document service, which provides the functionality of the
tag and its child
cfdocument
• You specify the
cfdocument
in a section as a content element of the document object.
• You represent document sections in the documentSection element of the document object. The
element is an arrays of objects, each of which represents a single document section. These objects include a content
element for the section content, an optional
other section attributes.
• You represent all document items in a document section (or the document object) as an array of objects with type
and content elements. The array element type field specifies whether the item is a header, footer, or page break. You
specify the document item array as a
• You call the
document object execute()
The following excerpt from the full example shows how to create sections and items and add them to a document:
and
cfdocumentsection
cfdocumentitem
attributes as Document object properties. You specify document content that is not
documentItem
element of the document object or a
documentItem
function to run the service.
Last updated 8/5/2010
tags.
element for the document items, and elements for any
documentSection
667
documentSection
object.

Advertisement

Table of Contents
loading

Table of Contents