-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Client not receiving the event #30
Comments
You may want to try event for:'browser' , topic:'processed', data:[:] //if On Wed, Feb 13, 2013 at 2:42 PM, harjitdotsingh [email protected]:
Stéphane |
for your event call in your service, try event(topic:'processed', data:data) |
Sure... let me try that and see. On Wed, Feb 20, 2013 at 9:04 AM, andymccullough [email protected]:
|
Will this work on jboss as? On Feb 20, 2013, at 9:04 AM, andymccullough [email protected] wrote:
|
I have the following code
events = {
}
code in the service
def map= [:]
map.json = data
event('processed',map,{})
code on the client
var grailsEvents = new grails.Events('${createLink(uri: '')}', {transport:'sse'});
grailsEvents.on('processed', function(data){
alert("received Push")
});
I don't see anything on the client.
The text was updated successfully, but these errors were encountered: