--Kurt
On 3/15/06, Ken Dunnington <
[EMAIL PROTECTED]> wrote:
I imagine you guys already know about this, but I found a typo in the
flashMappings.cfc that was preventing it from working for me. The
patch file is below (checked against the latest in CVS.)
Also, I've found that if you don't specify instanceDataMethod as a
property in your flashMappings XML definition, trying to create the
service will fail because the init method of flashMappings.cfc looks
for arguments.mappings[i].instanceDataMethod without providing for a
default value. Since the addMapping() method DOES have a default, I
assume that the field is meant to be optional. As it turns out, if you
use Reactor, you need to set this property to _getTO anyway. I've got
it working now (using the factory's create/destroyRemoteProxy()
methods) and it's really cool. Thanks for all the great work guys!
Index: flashMappings.cfc
===================================================================
RCS file: /coldspring/coldspring/remoting/flash/flashMappings.cfc,v
retrieving revision 1.4
diff -u -r1.4 flashMappings.cfc
--- flashMappings.cfc 4 Mar 2006 17:41:46 -0000 1.4
+++ flashMappings.cfc 15 Mar 2006 18:30:07 -0000
@@ -39,7 +39,7 @@
<cfset queryAddRow(variables.instance.mappings)>
<cfset querySetCell( variables.instance.mappings, "cfcType",
arguments.cfcType)>
<cfset querySetCell(variables.instance.mappings, "flashType",
arguments.flashType)>
- <cfset querySetCell( variables.instance.mappings,
"instanceDataMethod", arguments.instanceDataMethoddName)>
+ <cfset querySetCell(variables.instance.mappings,
"instanceDataMethod", arguments.instanceDataMethod )>
</cffunction>
<cffunction name="getCFCType" access="public" returntype="string"
output="false">
