I am all for moving onto a new ajax framework or learning to do this 
differently, I just haven't the time to find a suitable replacement, so by all 
means point me to a better place. What I mainly use ajax for is to send data to 
a CFC for table updates as well as returning queries. 

>>I think you lost me already. You're using CFINVOKE from where that you're not 
>>getting the same answers out of OpenBD? Or do you mean you're not getting the 
>>same answers over cfajax that you're getting via CFINVOKE but this is all 
>>running on OpenBD? 

It is all running out of OpenBD, and I am not getting the same answers, but 
like you said it very well could be the cfcajax framework I am using. 




The only confusing part for me is I thought a return from OpenBD would be in 
the same format as CF8 and therefore the answers I get from OpenBD would be the 
same answers out of CF8. This, thru testing clearly is not the case, and the 
reason for believing it to be a bug. 




----- Original Message -----
From: "Matthew Woodward" <[email protected]> 
To: [email protected] 
Sent: Wednesday, February 29, 2012 9:03:40 PM 
Subject: Re: [OpenBD] cfreturn 0 is not returning anything 

On Wed, Feb 29, 2012 at 5:53 PM, < [email protected] > wrote: 





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. 




I think you lost me already. You're using CFINVOKE from where that you're not 
getting the same answers out of OpenBD? Or do you mean you're not getting the 
same answers over cfajax that you're getting via CFINVOKE but this is all 
running on OpenBD? 

<blockquote>


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 ). 

</blockquote>



What we don't know is what cfajax might be doing to stuff under the hood. 

<blockquote>


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. 

</blockquote>



Is it at all possible just to dump cfajax? I really think you'd have better, 
more consistent results. I feel like you're chasing your tail and we could 
better help you if you dumped the wildcard in this situation which is a very 
old, no longer necessary ajax library. 


If you can help us get a high-level idea of what exactly you're trying to do 
here (is this just basic calling of CFC methods via ajax?) I think that will 
help the conversation be more fruitful. -- 
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

Reply via email to