Hi All,

I've been working on a particularly sticky wicket for many hours 
now.  

I'm sending multiple .AS valueObjects from Flex to a ColdFusion CFC, 
and can't seem to get it to work. My array is set and passed 
properly to the CFC, but once there, i can't seem to get it read the 
object - and can't even get it to pass the object back to FLEX 
(notice that in the code below i'm merely passing the object 
directly back).  I'm probably missing something obvious:  (Thanks 
for any assistance!)

MXML:
====================================
var accessKeys:Array = new Array

//LOOP THROUGH ALL ACCESSKEYS

for (var i:int = 0; i < actualAccess.length; i++)
{

//ASSIGN A NEW USER FOR EACH ACCESS KEY
var o:OfferInstance = new OfferInstance;
        
o.PersonID=accessKey[i].personID;
   
accessKeysOutgoing.push(o)
}

//CALL THE CFC
this.offerInstanceDataManager.saveAll(accessKeys);



.CFC:
====================================
<cffunction name="saveAll" output="true" access="remote" 
returntype="any">
<cfargument name="accessKeys" required="true" type="any"/>

<cfset ret ="#arguments.accessKeys#">

<cfreturn ret>

</cffunction>



OfferInstance.as:
====================================
package com.cfgenerated.models
{

[RemoteClass
(alias="btapp3.components.cfgenerated.OfferInstance.OfferInstanceBean
")]

[Bindable]
public class OfferInstance
{

public var personID:Number = 0;

public function OfferInstance()

{

}

}

}





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to