Hello again!

 

Well I am stuck once again and I need anyone's help with this; I have
created a function in a cfform item using Actionscript to remotely connect
to CFC. The good news is that it works but what I am having issues with is
displaying results from the remote call. Can anyone shed some light on
this please?

 

My
Code----------------------------------------------------------------------
---------------------------------------------

 

FUNCTION:

function getGroupData(){

            //remote path and connection to gateway

    var connection:mx.remoting.Connection =
mx.remoting.NetServices.createGatewayConnection("http://utmdocmcfnt:85/fla
shservices/gateway/");

            var myService:mx.remoting.NetServiceProxy;

    

            var useraccountid = AppUsers.selectedItem.USERACCOUNTID;

 

            var responseHandler = {};

            responseHandler.onResult = function( results: Object ):Void {

    useraccountid.dataProvider  = results;

            }

 

 

            responseHandler.onStatus = function( stat: Object ):Void {

      alert("Error while calling cfc:" + stat.description);

            }

    

    

            myService = connection.getService("CFCs.Security",
responseHandler );

            myService.myGroups(useraccountid);

}

 

 

--------------------------------------------------------------------------
------
Ernest Pena Jr.
Applications Systems Analyst
Division of Cancer Medicine
University of Texas M. D. Anderson Cancer Center
FC11.2044
713-563-8933 Work
713-404-0974 2-Way Pager
713-745-2077 Fax
Interoffice Mail: Unit 421
[EMAIL PROTECTED]

 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Houston ColdFusion 
Users' Group" discussion list.
To unsubscribe, send email to [EMAIL PROTECTED]
For more options, visit http://groups.google.com/group/houcfug?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to