Hi folks,

I've got a couple more questions to ask the group about ajaxCFC.

How do I call DWREngine._execute and NOT pass any arguments?

If I leave the arguments part of the call empty:
DWREngine._execute("/Emergency/CFC/MyCFC.cfc", null, "MyMethod", MyReturnFunction);

I get "An error has occurred: Message: the parameter is not an Array"

If I pass null:
DWREngine._execute("/Emergency/CFC/MyCFC.cfc", null, "MyMethod", null, MyReturnFunction);
I get "Invalid reply from server"

If I make up some dummy array:
DWREngine._execute("/Emergency/CFC/MyCFC.cfc", null, "MyMethod", someArray, MyReturnFunction);
I get "An error has occurred: Message: General Runtime Error"

So, I'm not sure which (if any) of the above is correct, and my problem is just somewhere else. I'm just trying to get the function in the CFC to generate a string and return it to me. I don't need any arguments. I've even tried requiring an argument in the function and passing one. Still no luck. Ack!

I've tried using Rob's setDebugMode() function as he describes in the documentation, but I never get the debug.html output file that I'm supposed to get.

So question two is, How do I use the in-built debugging functions that Rob provides?

Any help would be greatly appreciated. :)

Thanks,
Chris

_______________________________________________
Reply to DFWCFUG: [email protected] Subscribe/Unsubscribe: http://lists1.safesecureweb.com/mailman/listinfo/list List Archives: http://www.mail-archive.com/list%40list.dfwcfug.org/ http://www.mail-archive.com/list%40dfwcfug.org/ DFWCFUG Sponsors: www.HostMySite.com www.teksystems.com/

Reply via email to