Adobe COLDFUSION 9 Manual page 674

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

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Flex and AIR Integration in ColdFusion
//Alert.show("httpurl= "+event.result.toString());
}
private function handleError(event:Event):void
{
mx.controls.Alert.show(event.toString());
}
]]>
</mx:Script>
<cf:Config id="configid" cfServer="localhost"
cfPort="80" servicePassword="service" serviceUserName="service" />
<!-- simple case-->
<cf:Document id="doctestnow" action="generate"
format="flashpaper" result="handleResult(event)"
fault="handleError(event)"
content="&lt;table&gt;&lt;tr&gt;&lt;td&gt;bird&lt;/td&gt;&lt;td&gt;
1&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;fruit&lt;/td&gt;&lt;
td&gt;2&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;rose&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;"/>
<!--doc item case -->
<!--<cf:Document id="doctestnow" action="generate"
format="flashpaper" result="handleResult(event)"
fault="handleError(event)" documentItem="{docItem}"/>-->
<!-- doc section case-->
<!--<cf:Document id="doctestnow" action="generate"
format="flashpaper" result="handleResult(event)"
fault="handleError(event)" documentSection="{docSection}"/>-->
<!-- doc section and doc item case
<cf:Document id="doctestnow" action="generate"
format="flashpaper" result="handleResult(event)"
fault="handleError(event)" documentSection="{docSectionItem}" />-->
<mx:SWFLoader source="{res}"/>
</mx:Application>
Using the Pop class
The Pop class is the proxy for the ColdFusion Pop service, which provides the functionality of the
specify the cfpop action and required attributes as Pop object properties and call the
run the service. The following example shows the user each supported action:
Last updated 8/5/2010
tag. You
cfpop
function to
object execute()
669

Advertisement

Table of Contents
loading

Table of Contents