Fortunately, the new version of GWT (2.1.0) has dealt with this problem. It seems to be fine for almost browser :)
On Nov 4, 11:07 am, Khôi <[email protected]> wrote: > Hi all, > > I'm developing a module using Google Web ToolkitTimer. In my code, I > have to override a method for handling browser event (pass an event as > argument). In this method, I useTimerto count down the time to delay > sending the event to server. The problem is that: > > - If I use the event argument of overridden method in method "run()" > oftimer, It works fine in Firefox but does not work in IE, Chrome. I > tried to debug and get the error: "Member not found" > > - If I does not use the event argument, It works fine with all > browsers. > > My code like following: > > @override > public void onBrowserEvent(final Event event) > timer= newTimer{ > > @Override > public void run() { > delayTime -= 1000; > if (delayTime <= 0) { > > SuperClass.this.someMethod(event); // > This line cause the error > > delayTime = 2000; > cancel(); > } > } > }; > timer.scheduleRepeating(1000); > > } > > Anybody have ever faced the same problem? > > Please help! > > Kind Regards, > Khoi -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
