Try to put stuff in your object:
var oData:Object = new Object();
oData.test = "hello";

Benoit Hediard 

-----Message d'origine-----
De : [email protected] [mailto:[EMAIL PROTECTED] De la
part de maikelsibbald
Envoyé : vendredi 4 août 2006 08:28
À : [email protected]
Objet : [flexcoders] Object is null/"""when it is passed along to
Coldfusion.

We even made a simple test:

//WOKING
cf.test(true);

//WOKING
cf.test(1);

//WOKING
cf.test("hello");

//NOT WOKING //in CFC we expect a struct, right!?
var oData:Object = new Object();
cf.test(oData);


<mx:RemoteObject id="cf"
destination="ColdFusion"
source="################" 
endpoint="######################" >
<mx:method name="test" result="serverResult(event)"
fault="serverFault(event)" />
</mx:RemoteObject>

Can anybody tell me what is wrong...






--
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



 








--
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