Adobe 38043740 - ColdFusion Standard - Mac Development Manual page 684

Developing applications
Hide thumbs Also See for 38043740 - ColdFusion Standard - Mac:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Flex and AIR Integration in ColdFusion
Element
scope
hostname
identity
remote-username
remote-password
identity property
query-row-type
fill-method
use-fill-contains
auto-refresh
ordered
The following code shows a sample destination:
<destination id="cfcontact">
<!-- Use the ColdFusion adapter for any CF specific destinations-->
<adapter ref="coldfusion-dao" />
<channels>
<channel ref="cf-polling-amf" />
</channels>
<properties>
<!--The component name or path on the CF server-->
<component>samples.contact.ContactAssembler</component>
<!--Either "application" or "request"-->
<scope>request</scope>
<!-- The hostname or IP address of the CF host. If Data Services is installed as
part of CF, you omit this. If Data Services runs outside of CF, you must
define this. <hostname>localhost</hostname>-->
<!--This is the ID of the ColdFusion Data Management service as configured in
the ColdFusion Administrator. Only needed if you have more than one instance of
CF on a machine and Data Services is not installed as part of CF.
<identity>default</identity> -->
<!--Credentials to pass to the assembler CFC for all clients. Generally better
to use setRemoteCredentials() API on client <remote-username></remote-username>
<remote-password></remote-password>-->
<metadata>
<identity property="contactId" />
Description
The scope, which can be
application
there is only one instance;
request
support
session
. (Do not confuse this setting with the ColdFusion variable scope; they are not related.)
The host name or IP address of the ColdFusion host. If you are running LiveCycle Data Services as part of
ColdFusion you do not specify a host name or IP address; however, if you are running LiveCycle Data
Services ES remotely, specify a host name or IP address.
The ID of the ColdFusion Data Management server as configured in the ColdFusion Administrator.
This is required only if you are accessing a ColdFusion server remotely using RMI and have more than
one instance of ColdFusion on a machine.
Credentials to pass to the assembler CFC for all clients. It is preferable to use the ActionScript
setRemoteCredentials()
API on the client.
The property or list of properties that are the primary key in the database.
Optional. If the assembler
fill
method returns a query, define an ActionScript type for each row in the
query that the ArrayCollection returned.
Whether to update the results of a fill operation after a create or update operation.
Optional. Whether the assembler has a
whether to refresh the fill. If the specified method returns
update operation. Set
use-fill-contains
default value is
false
.
Optional. Whether to refresh the fill after a create or update operation. The default value is
Optional. Whether order is important for this filled collection. Allows performance optimization when
order is not important. The default value is
Last updated 1/20/2012
,
session
, or
request
. The
application
specifies that there is a new CFC for each call. ColdFusion does not
fill-contains
method. This method is used to determine
true
, the fill is re-executed after a create or
to
true
only when
auto-refresh
.
true
679
value specifies that
is set to
true
. The
true
.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents