Re: Accessing custom JS events in GWT

2011-08-11 Thread e-lena-s
:50 PM, e-lena-s wrote: I am trying to listen to a custom JS event that is created outside my GWT module. In my JS file I create the event, and then fire it as such :         var evt = document.createEvent(Event);    evt.initEvent('customEvent', true, true);    evt.customData

Re: Accessing custom JS events in GWT

2011-08-11 Thread e-lena-s
Yup, the js-- js event is kept in tact. I can see all the right data with the console.log. I'll try your suggestion for alternative way of handling the event On Aug 11, 9:50 am, Jeff Chimene jchim...@gmail.com wrote: On 08/11/2011 08:38 AM, e-lena-s wrote: The issue is that the JS function

Accessing custom JS events in GWT

2011-08-10 Thread e-lena-s
I am trying to listen to a custom JS event that is created outside my GWT module. In my JS file I create the event, and then fire it as such : var evt = document.createEvent(Event); evt.initEvent('customEvent', true, true); evt.customData = someData;