Adobe COLDFUSION 9 Manual page 685

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

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Flex and AIR Integration in ColdFusion
<!--Optional, If the Assembler fill routine returns a query,you must define an
Actionscript type for the rows.-->
<query-row-type>samples.contact.Contact</query-row-type>
</metadata>
<network>
<!--
Add network elements here-->
</network>
<server>
<!-- The method declarations are ignored for CFC Assemblers, with the exception of
the fill-method settings. No parameters are defined here, unlike Java. Any arguments
provided via the AS call are passed along to the CFC, just use optional arguments
when defining the CFC.-->
<fill-method>
<!--Does the assembler have a "fill-contains" method? This method is used to
determine whether to refresh the fill. If the specified method returns true the fill
is re-executed after a create or update. Auto-refresh determines if the fill is
always refreshed if not specified. May only be used when auto-refresh is true.
Optional. Default is false.-->
<use-fill-contains>false</use-fill-contains>
<!-- Determines whether to refresh the fill on updates or creates. Optional. Default
value is true.-->
<auto-refresh>true</auto-refresh>
<!--Determines whether order is important for this filled collection. Allows for
performance optimization when order is not important. Optional. Default value is
true.-->
<ordered>true</ordered>
</fill-method>
</server>
</properties>
</destination>
Enabling ColdFusion-specific debugging output
You enable ColdFusion-specific debugging output in the Flex console by adding the following
tag in the logging section in the services-config.xml file:
<filters>
<pattern>DataService.coldfusion</pattern>
For more information, see "Configuring the Data Service" in Developing Flex Applications, which is included in the
Flex documentation.
Note: The ColdFusion Administrator lets you enable or disable LiveCycle Data Management support. If you are running
more than one instance of ColdFusion, use a unique ID to specify each instance of ColdFusion for which you enable
LiveCycle Data Management support. You do so by specifying the identity in the
management-config.xml file.
Writing the ColdFusion CFCs
When you create your ColdFusion CFCs, you can do one of the following:
• Create an assembler CFC and a Value Object CFC.
• Create an assembler CFC, a Data Access Object (DAO) CFC, and a Value Object CFC.
Last updated 8/5/2010
tag in the
<pattern>
element in the data-
identity
680

Advertisement

Table of Contents
loading

Table of Contents