On May 4, 9:43 pm, Lukas Laag <[email protected]> wrote: > It is possible to generate events programmatically in JavaScript. This > page gives a good overview of the topic, including key events (look > for 'Manually firing events'): > > http://www.howtocreate.co.uk/tutorials/javascript/domevents. > > I do not know if generating a tab event like this in a JSNI method
you actually don't need JSNI: just use Document.get().createXxxEvent() and DomEvent.fireNativeEvent(). > would solve your focus problem. I doubt it would, otherwise people would have proposed it as a workaround: http://stackoverflow.com/questions/2398528/set-textbox-focus-in-mobile-safari (note: according to "the web", it's a bug in WebKit) -- 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.
