On Mon, Sep 19, 2011 at 12:04 PM, Y2i <[email protected]> wrote: > Have you tried Event.addNativePreviewHandler() > <http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/Event.html#addNativePreviewHandler(com.google.gwt.user.client.Event.NativePreviewHandler)> > ?
I was using this option to define short cut keys in the screen. but i have 2-3 screens in my application. so this short cut keys should work differently on screen by screen. So I had to define *NativePreviewHandler *in each screen, and remove them when application unload that screen (to avoid NativePreviewHandler being fired again even after quiting from that screen). but problem arose when I wished to define a common header widget. (just like we use header.jsp). I want to define a few shortcuts where ever this header has been used. but it will be a burden to remove NativePreviewHandler wherever it has been used. ie, this header should be independant. Any idea or workaround to achieve this?. Thanks. -- Sarjith > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-web-toolkit/-/wzgBDGYEFXAJ. > > 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. > -- 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.
