0 Replies Latest reply on Mar 13, 2007 2:44 PM by Dr._Goomba

    Passing an Object w/ RemoteObject

    Dr._Goomba Level 1
      This is driving me nuts. CF is throwing an error saying my obj was not passed in, however i have no problem passing in string and other parameters, just objects. Whats happening to my object?

      The AS File:
      var obj:Object = new Object();
      obj.somename = "poopoo";

      // send object
      var ro:RemoteObject = new RemoteObject;
      ro.destination = "ColdFusion";
      ro.source = "mytools.cfc.fileBuilder.FileBuilder";
      ro.create.send(obj);

      The CFC:
      <cffunction name="create" output="false" access="public" returntype="void">
      <cfargument name="obj" required="true">
      </cffunction>