Not applicable
26-07-2007
08:55 PDT
- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Ah right, the issue is that ColdFusion supports two styles of
providing arguments
to CFC functions - ordered arguments and named arguments.
If you call your RemoteObject method with a single complex
object it thinks
you are providing a Struct of named arguments. This is a
legacy feature from
the original Flash Remoting functionality and CFCs. There are
several work
arounds... wrapping it in an Array is one such workaround,
another is to
simply provide a second argument so that it will think the
complex object
is just the first ordered argument rather than a struct of
named arguments.
providing arguments
to CFC functions - ordered arguments and named arguments.
If you call your RemoteObject method with a single complex
object it thinks
you are providing a Struct of named arguments. This is a
legacy feature from
the original Flash Remoting functionality and CFCs. There are
several work
arounds... wrapping it in an Array is one such workaround,
another is to
simply provide a second argument so that it will think the
complex object
is just the first ordered argument rather than a struct of
named arguments.
Views
Replies
0 Likes
Total Likes