-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathRemotingService.cfc
20 lines (17 loc) · 991 Bytes
/
RemotingService.cfc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<cfcomponent output="false" extends="ModelGlue.gesture.remoting.AbstractRemotingService" hint="Exposes your Model-Glue application to remote clients.">
<cfsetting showdebugoutput="false">
<!---
If you use a file other than index.cfm as your application's template, change this line.
--->
<cfset template = "/ColdBooks/index.cfm" />
<!---
Create a method in this CFC with the same footprint as that of the base class method.
This is to work around an apparant bug ColdFusion 8 which doesn't allow access to the base class from cfajaxproxy.
--->
<cffunction name="executeEvent" output="false" access="remote" returntype="struct">
<cfargument name="eventName" type="string" required="true" />
<cfargument name="values" type="struct" required="true" default="#structNew()#" >
<cfargument name="returnValues" type="string" required="false" default="" />
<cfreturn super.executeEvent(arguments.eventName, arguments.values, arguments.returnValues) />
</cffunction>
</cfcomponent>