Question
Event Gateway Listener interacts with Javascript
I've tried searching through various solution to try and
figure out which direction to take this but I can't find anything
yet.
I have an active IM Event Gateway Listener set up on CF 8 server. Its currently working just fine with GTalk. I am trying to figure out how to fire a javascript function on the clients browser when an IM Event Gateway Listener is fired.
For example let's take the onIncomingMessage listener:
<cffunction name="onIncomingMessage">
<cfargument name="CFEvent" type="struct" required="yes">
</cffunction>
Once that is fired and a message has been received how can I have that immediately execute a javascript function waiting to be executed once that listener has been triggered?
I've researched various solutions included DWR, Comet, and "Reverse Ajax" but I'm not sure that's where I want to go.
Is there a way to use the cfajaxproxy call to have it work with a Gateway listener?
Best Regards,
Darren
I have an active IM Event Gateway Listener set up on CF 8 server. Its currently working just fine with GTalk. I am trying to figure out how to fire a javascript function on the clients browser when an IM Event Gateway Listener is fired.
For example let's take the onIncomingMessage listener:
<cffunction name="onIncomingMessage">
<cfargument name="CFEvent" type="struct" required="yes">
</cffunction>
Once that is fired and a message has been received how can I have that immediately execute a javascript function waiting to be executed once that listener has been triggered?
I've researched various solutions included DWR, Comet, and "Reverse Ajax" but I'm not sure that's where I want to go.
Is there a way to use the cfajaxproxy call to have it work with a Gateway listener?
Best Regards,
Darren
