Thanks Pete. This makes perfect sense now that I think about it.
--- In [email protected], "Peter Farland" <[EMAIL PROTECTED]> wrote:
>
> Neither, it's a known requirement.
>
> CF has the concept of "named arguments" versus ordered arguments. A
> single Object is seen as a name-value map for named parameters.
>
> Pete
>
> ________________________________
>
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of Jamie
> Sent: Wednesday, May 16, 2007 11:47 AM
> To: [email protected]
> Subject: [flexcoders] Flex or CF bug?
>
>
>
> I blogged an issue I came across yesterday. In short, I'm saving some
> data, passing it through a RemoteObject call to a CFC...
>
> var leadInfo:Object = new Object();
> ...
> ro.saveLeader(leadInfo);
>
> Doesn't work, but
>
> var leadInfo:Object = new Object();
> ...
> ro.saveLeader(leadInfo,1);
>
> does, though the second argument is just a dummy. I did everything I
> could think of, but I was only able to get the object into the CFC's
> arguments scope by having that dummy.
>
> http://codingmurloc.wordpress.com/2007/05/15/passing-object-to-a-cfc-fle
> x-or-cf-bug/
> <http://codingmurloc.wordpress.com/2007/05/15/passing-object-to-a-cfc-fl
> ex-or-cf-bug/>
>