MACROMEDIA COLDFUSION MX 7.0.2-USING COLDFUSION MX WITH FLEX 2 Use Manual page 60

Table of Contents

Advertisement

<cfreturn this.state>
</cffunction>
<cffunction name="setstate" output="false" access="public"
returntype="void">
<cfargument name="val" required="true">
<cfset this.state = arguments.val>
</cffunction>
<cffunction name="getzip" output="false" access="public"
returntype="any">
<cfreturn this.zip>
</cffunction>
<cffunction name="setzip" output="false" access="public"
returntype="void">
<cfargument name="val" required="true">
<cfset this.zip = arguments.val>
</cffunction>
<cffunction name="getphone" output="false" access="public"
returntype="any">
<cfreturn this.phone>
</cffunction>
<cffunction name="setphone" output="false" access="public"
returntype="void">
<cfargument name="val" required="true">
<cfset this.phone = arguments.val>
</cffunction>
</cfcomponent>
Specifying the destination in the data-management-
config.xml file
To ensure that Flex recognizes the Flex Data Service assembler, you add the destination to the
data-management-config.xml that is in the /WEB-INF/flex folder.
To ensure that you can revert any changes, make a copy of the data-management-
1.
config.xml file.
To ensure that Flex recognizes the ColdFusion Data Service adapter, remove comments
2.
from around the adapter definition, which appears as follows:
<adapter-definition id="coldfusion-dao"
class="coldfusion.flex.CFDataServicesAdapter" />
60
Using the Flex Data Service Assembler

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents