
1053
DEVELOPING
COLDFUSION 9 APPLICATIONS
Working with Documents, Charts, and Reports
Las
t
upda
te
d 8/5/2010
<cfpresentation title="The Road Ahead">
<cfpresentationslide title="Yellow Bricks" audio="myaudio1.mp3" duration="10">
<h3>Yellow Bricks</h3>
<table cellpadding=10>
<tr>
<td>
<ul>
<li>Way to go Dorothy</li>
<li>Making tracks</li>
<li>No place like home</li>
</ul>
</td>
<td><img src="../cfdocs/images/artgallery/maxwell01.jpg"/>
</td>
</tr>
</table>
</cfpresentationslide>
<cfpresentationslide title="Wild Ride" duration="5">
<h3>Wild Ride</h3>
<cfchart format="jpg" title="Who's Ahead" show3D="yes" chartHeight=500 chartWidth=500>
<cfchartseries type="pyramid">
<cfchartdata item="Dorothy" value=10>
<cfchartdata item="Tin Man" value=30>
<cfchartdata item="Scarecrow" value=15>
<cfchartdata item="Lion" value=50>
<cfchartdata item="Toto" value=5>
</cfchartseries>
</cfchart>
</cfpresentationslide>
<cfpresentationslide title="The Golden Age of Ballooning" duration="10"
src="http://www.balloning.com/index.htm"/>
</cfpresentation>
Note:
The value for the format attribute of the
cfchart
tag must be JPG or PNG.
The content for slides is not limited to static data: you can generate content from information extracted from a
database or a query of queries.
Sample presentations
This section provides two sample presentations.
Example 1
The following example creates a simple presentation that incorporates data retrieved from the cfdocexamples
database. It shows how to perform the following tasks:
•
Create slides generated from HTML and CFML.
•
Add images to slides.
•
Add charts and tables with data extracted from a database.
•
Add audio tracks to individual slides.
Содержание COLDFUSION 9
Страница 1: ...Developing Applications ADOBE COLDFUSION 9...