So now I am kind of confused at my results I am seeing. I setup direct calls using CFINVOKE to call the CFC. And it does work, but I am not getting the same answers out of OpenBD. Before when I did Ajax to the returntype boolean I got "True" for 1 and nothing for 0. But with the CFINVOKE returned 1 for "true" and 0 for "false" (aka when I returned 1 within ajax I got True, but in the cfinvoke I got 1 regardless of using true or 1 ).
But it is also different answers I get compared to CF8. Not that OpenBD is CF8, I am just reusing code written for CF8 expecting to have the same return behavior. What baffles me is the returning of "True" (note the capital T) So I ran a find on the cfc ajax looking for a "True" statement and didn't see any. So I am not sure if OpenBD is returning the word "True" for 1 or if the Ajax is calling it "True" since the additional tests I couldn't get OpenBD to return the word "True" no matter what I set the boolean result to. ----- Original Message ----- From: "Matthew Woodward" <[email protected]> To: [email protected] Sent: Wednesday, February 29, 2012 12:18:14 PM Subject: Re: [OpenBD] cfreturn 0 is not returning anything On Wed, Feb 29, 2012 at 9:00 AM, < [email protected] > wrote: >>But *via cfajax* right? My main question is have you tried it *outside* of >>the cfajax enviroment? If the CFC method itself is working, then it's an >>issue with cfajax on OpenBD, not with OpenBD itself. It works in coldfusion 8, and I get some kind of server response in all cases. I may not be stating this clearly, but saying "it works in CF 8" doesn't get to the bottom of things. I'm saying if the function itself works *outside the context* of cfajax, then it's a cfajax issue. I still don't think we're answering that question. -- Matthew Woodward [email protected] http://blog.mattwoodward.com identi.ca / Twitter: @mpwoodward Please do not send me proprietary file formats such as Word, PowerPoint, etc. as attachments. http://www.gnu.org/philosophy/no-word-attachments.html -- online documentation: http://openbd.org/manual/ google+ hints/tips: https://plus.google.com/115990347459711259462 http://groups.google.com/group/openbd?hl=en -- online documentation: http://openbd.org/manual/ google+ hints/tips: https://plus.google.com/115990347459711259462 http://groups.google.com/group/openbd?hl=en
