Anybody did successful use YUI with AjaxCFC? I have project which uses YUI all over the site thus I would be nice to replace DWR or at least util.js with the...
Hi, I'm very new to this AJAX thing. I was trying to edit one of Rob's examples and I'm not sure what is wrong here: <script type="text/javascript"> function...
Are you sure the error is in the init function? If so, it would help us of you posted that CF code. 'Invalid reply from server' almost always means you've...
Here's the init function: <cffunction name="init" access="public" returntype="Person" output="false" hint="Creates an instance of the Person component - ie an...
I'd personally like to see AjaxCFC with just about any other js library other than DRW. YUI, Dojo, jQuery: any of these would be excellent choices, I think....
As I stated in another thread (not two minutes ago :o)), I'd *love* to see an AjaxCFC implementation that uses jQuery, YUI, or Dojo. I'm currently using...
Hi Daniel, AjaxCFC/DWR should work just fine with YUI since YUI uses namespaces to properly isolate their calls. They should co-exist with no issues. Now, just...
"I haven't checked Rob's site in a while. Is there any word from him that he may try to incorporate a different JS library into AjaxCFC?" Rob has mentioned...
I could be wrong, but I'd suggest that ajaxCFC doesn't support returning a cfc object like that. I'm not sure where you're going with that (I'd have to look...
Hi Rey Thanks for your excellent answer... Thus I guess I have to look into CFJSON to work together with YUI connection manager... Even if AjaxCFC/DWR work...
Yep. I totally agree although mixing of different frameworks isn't necessarily a bad thing if the two bring you a major development benefit. For example, if...
Daniel, post if you need help with the CFJson stuff. I just recently started using it, and had minor (very minor) difficulty using it the first time, but it's...
Yep, Chris and I have been helping each other out with JSon stuff and he's definitely taken the lead on that. Chris is a good resource. Also, if you're not...
hmm... never tried that... but it's just a structure really, isn't it? I don't know (and I probably should) if CF treats scopes differently than structures....
Actually, it's in the variables scope. So the properties are not accessible directly outside the component. You need to use the accessor methods to access...
Hi, I noticed that on pages where I am using ajaxCFC, I am no longer seeing the debugging information at the bottom of the screen generated by Administrator....
Frank, That debugging is turned off by the framework I believe. Coldfusion debugging will cause most ajax implementations to fail for a lot of reasons like: 1)...
Frank, Dan's right. Debugging is turned off by AjaxCFC. To overcome this problem, include a <CFSetting ShowDebugOutput = "Yes"> in your OnRequestEnd.cfm file....
I don't know that there's a published list of return types you can use, but I tend to look at the examples posted on Rob's site as a definitive list of what...
I can't seem to return a query either. Man, I stink at this. <script type='text/javascript'>_ajaxConfig = {'_cfscriptLocation':'components/Person.cfc', ...
Are you getting "Invalid reply from server"? If so, I have found the Firefox plugin Firebug to be indispensible. You can view the real error message that...
Frank, You haven't set a return type in your cfc method. Try adding ReturnType="query" to your CFFunction statement. I was all ready with a much more elaborate...
Also, the newest version of the AjaxCFC framework has a wonderful logger called Log4Javascript, I believe it is called. You can see it in action here: ...