|
Possible Error in tartan.vo.ValueObject.cfc
|
Sam Shrefler
|
Feb 09, 2006 07:24 PST
|
Paul and others:
When passing a ValueObject from Flash Remoting to Coldfusion, the following
was giving me an error in tartan.vo.ValueObject.cfc
<cfif NOT StructKeyExists(this, key)>
<cfset this[key] = ArrayNew(1)>
<cfelse>
<cfset ArraySet(this[key], 1, ArrayLen(this[key]), "")>
</cfif>
More specifically, the ArraySet command. I wonder for what reason we can
not just do
<cfset this[key] = ArrayNew(1)>
and then populate the array.
Also, whenever I send an VO from flash remoting, I need to add a second
param that I set to true in the function call. If i don't, coldfusion says
that my vo argument wasnt' passed in. Any thoguhts?
Thanks
sam
|
|
 |
|