From: Robin E. <rob...@eu...> - 2004-05-12 10:29:32
|
As far as I understand it, you shouldn't be calling the service, but a function within that service. e.g. responder.myFunction_Status = function(result){ _root.help.text = "ERROR"; } responder.myFunction_Result = function(result){ _root.help.text = "RESULTADO"; } usuario = connAdm.getService("usuarios", responder); usuario.myFunction(_idUsuario); where on the server, the service "usuarios" contains a method myFunction. -----Original Message----- From: amf...@li... [mailto:amf...@li...]On Behalf Of Roberto M. Basáñez González Sent: 11 May 2004 14:21 To: amf...@li... Subject: Re: [amfphp] myService_Status function ? Excuse me, in previous message a made a mistake in the example text, i wrote "this" in the second parameter of getService and was "responder" responder.myService_Status = function(result){ _root.help.text = "ERROR"; } responder.myService_Result = function(result){ _root.help.text = "RESULTADO"; } usuario = connAdm.getService("usuarios", responder); usuario.myService(_idUsuario); Thanks, Roberto. ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ amfphp-general mailing list amf...@li... https://lists.sourceforge.net/lists/listinfo/amfphp-general |