Thursday, July 31, 2014

Re: Firing Custom Event in GWT

When you bind your handler, keep a reference to the HandlerRegistration object (assuming you're using an event bus) and when your handler is called the first time, call the method removeHandler() on this HandlerRegistration object. Your handler won't be called anymore.

On Wednesday, July 23, 2014 7:36:27 AM UTC+2, Mohammed Sameen wrote:
Hi All,
In my GWT application,I have written my own custom event for enabling the button whenever the text box (or some other filed) is edited.The event is keep on  firing whenever there is a change is text box.Is there any performance issue.Is there any way to fire the event only once?Please give your suggestion.Thanks in Advance..

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment