I guess what I am missing in all this is with the cfcajax framework when I return a query I just have to do (if r = the return) r.id[i] or r.firstName[i] and loop how ever many times I need to based on a call to r.getRowCount()
Is this something that OpenBD puts out or is it something I need to create to get? ----- Original Message ----- From: "Matthew Woodward" <[email protected]> To: [email protected] Sent: Wednesday, February 29, 2012 9:26:08 PM Subject: Re: [OpenBD] cfreturn 0 is not returning anything On Wed, Feb 29, 2012 at 6:19 PM, < [email protected] > wrote: 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. You can do that directly in OpenBD. No external framework needed. The only reason cfajax ever existed is because this stuff wasn't in the CFML engines back in the CF 6/7 days. If you're doing simple HTTP calls to your CFCs just set access to remote and call away. http://www.openbd.org/manual/?/webservices_restlet If you want to call your CFCs directly from JavaScript, use CFAJAXPROXY: http://www.openbd.org/manual/?/tag/CFAJAXPROXY <blockquote> 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. </blockquote> Oh believe me what you get via ajax directly from OpenBD Is FAR better than what you get out of CF 8. We've done a lot of work in that area, particularly around the JSON data, and I think you'll find it's quite nice. -- 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
