I've just migrated from using application.cfm to application.cfc, for now all i've really done is putting the contents of my application.cfm into the onRequest() function. Everything all fine and dandy except for code which makes ajax calls via cfajaxproxy.
The proxy code has a simple function:
<cffunction name="echo" returnFormat="json" access="remote">
<cfset var response=StructNew()>
The callback code should be able to check for a json object response, however it now receives null in the callbackhandler function's argument. Anyone have any idea of what I can be doing wrong? Again, the only different is that i have replaced application.cfm with application.cfc. Should the onRequest() function return something? It currently has:
.. which is for including the target page after my initialisation. Is something missing here, or can anyone suggest anything else i might be doing wrong?