RE: [flexcoders] Re: Anyone familiar with CF-Flex remoting?

2008-07-06 Thread Shaun Mccran
fferent wether they are on their own, or passed with other data? Anyone experienced this? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nwebb Sent: 04 July 2008 08:25 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Anyone familiar with CF-Flex remoting?

Re: [flexcoders] Re: Anyone familiar with CF-Flex remoting?

2008-07-04 Thread nwebb
Thanks to all who replied - good to know that it is actually possible. Sid, thanks for this example, should help us to resolve the issue :) On Fri, Jul 4, 2008 at 3:30 AM, Sid Maskit <[EMAIL PROTECTED]> wrote: > This definitely works. Just did it using CFC's. > > In MXML: > > endpoint="[URL

[flexcoders] Re: Anyone familiar with CF-Flex remoting?

2008-07-03 Thread Sid Maskit
This definitely works. Just did it using CFC's. In MXML: http://domain.com/flex2gateway/]"; destination="ColdFusion" source="[path to your CFC here: e.g. folder.folder.file" > Inside script within same MXML: this.dataManager.requestAddressChange(this.address

[flexcoders] Re: Anyone familiar with CF-Flex remoting?

2008-07-03 Thread valdhor
Of course you can send multiple arguments to a remoting method (Disclaimer: I know it works with WebORB because I just tried it). You just need to make sure the method can take multiple parameters and you are sure of the order in which they arrive. --- In flexcoders@yahoogroups.com, nwebb <[EMAIL

Re: [flexcoders] Re: Anyone familiar with CF-Flex remoting?

2008-07-03 Thread Tom McNeer
I could be very wrong, because I'm pretty new to Flex. But it's my understanding that a method called on a RemoteObject needs to send multiple arguments as an array. You actually are sending multiple arguments. You just can't pass them as a usual list of arguments, one after another. On Thu, Jul 3

Re: [flexcoders] Re: Anyone familiar with CF-Flex remoting?

2008-07-03 Thread nwebb
Thanks yeah that's the solution we're using, but I'm interested to know, should that be necessary or should we be able to send 2 arguments in to a remoting method? On Thu, Jul 3, 2008 at 2:34 PM, valdhor <[EMAIL PROTECTED]> wrote: > var objectToSend:Object; > objectToSend.userId = userId; > obj

[flexcoders] Re: Anyone familiar with CF-Flex remoting?

2008-07-03 Thread valdhor
var objectToSend:Object; objectToSend.userId = userId; objectToSend.filterObj = filterObj; var token:AsyncToken = ro.returnOrders(objectToSend); --- In flexcoders@yahoogroups.com, nwebb <[EMAIL PROTECTED]> wrote: > > Hi, > > I'd like to pass 2 arguments to a remote method called "returnOrders".