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;
> objectToSend.filterObj = filterObj;
> var token:AsyncToken = ro.returnOrders(objectToSend);
>
>
> --- In [email protected] <flexcoders%40yahoogroups.com>, nwebb
> <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > I'd like to pass 2 arguments to a remote method called "returnOrders".
> > Something like:
> >
> > //Flex
> > var token:AsyncToken = ro.returnOrders(userId, filterObj);
> >
> > The first argument is a String called "id" and the second is an
> Object (see
> > below for full code).
> >
> > The CF guy I'm working with says that if I just send a single object
> he can
> > pull it apart and get to the individual properties, but when I send
> him two
> > arguments, he can't "break apart" the object (excuse the terminology
> - his
> > not mine)
> >
> > Any hints and tips much appreciated!
> >
> >
> > Oh, and here is the AS3 filter DTO I'm using.
> >
> > package net.quadratek.po.dto
> > {
> > [Bindable]
> > [RemoteClass(alias="qnet2.cfc.remote.purchaseOrder")]
> > public class FilterDto
> > {
> > public var poId:String = "";
> > public var supplierId:String = "";
> > public var monthId:String = "";
> > public var yearId:String = "";
> > public var projectId:String = "";
> > public var employeeId:String = "";
> >
> > public function FilterDto()
> > {
> > }
> >
> > }
> > }
> >
>
>  
>

Reply via email to