cfajaxproxy callback doesn't work! HELP!
I have created an application which uses the CFAJAXPROXY tag extensively to call functions through Javascript. Everything works fine on my local machine (Vista, CF8,all browsers).
When I upload the files to the server, the CallBackhandler function stops working. Using the CFDEBUG window I can see that the call to the CFC is actually made AND it returns the desired result... yet, it doesn't do anything with the result. It just does nothing!
The Callbackhandler(s) refresh the page elements (such as CFDIVS and CFLAYOUTS) in order to show the updated data. It just doesn't work!
There is no error but there are several warnings in the Error Console in FF that state stuff like:
"Warning: reference to undefined property o.stopPropagation
Source File: http://xxx.xxx.xxx.xxx/CFIDE/scripts/ajax/ext/ext-core.js
Line: 17"
I am guessing this has something to do with it but am not sure what and why.
I am also guessing that there may be an issue with the paths/mappings of the site that may cause the callbackfunction to lose track or something like that since the structure of the site IS different locally than it is on the server... however, when I call the templates directly (not through the root of the site) it still doesn't work.
I also tried to upload the entire CFIDE/scripts directory and try and point my <cfajaximport> tag to it, but that throws an error (which also doesn't make any sense):
Invalid usage of AJAX tag.
Use cfajaximport tag to specify SCRIPTSRC or make sure all ajax controls are inside a single cfform tag that has SCRIPTSRC. The error occurred inC:\Inetpub\wwwroot\xxxx\xxx\conferencemgr.cfm: line 52
50 : <!--- i mport Ajax Tags ---> 51 : <!--- <cfajaximport tags="cfform,cfinput-datefield,cfwindow,cfinput-autosuggest,cflayout-border, cflayout-tab, cfdiv"> ---> 52 : <cfajaximport scriptsrc="/js/cfide/scripts/"> 53 : 54 :
So, although I think it is related to the JS files in the CFIDE directory and that for some reason it can't find the script for the callbackhandler function in the page, it just does nothing.
Maybe I am completely wrong and I don't want to steer anyone in the wrong direction so if you have any better ideas, please let me know.
I can't find any information about this issue anywhere (perhaps I have stumbled upon something unique!?). And, just to reiterate... everything works fine on my local server!
Thanks for any help!
