Hello there, Well, seems so at least... On page : http://code.google.com/webtoolkit/doc/1.6/tutorial/manageevents.html
Fact is we are said to do a keyboard listener and to test the key pressed using this part of code : if(event.getCharCode() == KeyCodes.KEY_ENTER) Which seems odd to me as KEY_ENTER is an int, where getCharCode returns a Char type. So as expected example wasn't working for me until I changed code to : if(event.getNativeEvent().getKeyCode() == KeyCodes.KEY_ENTER) which is working. I might be wrong and doing something wrong, but well, it works this way. -- 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.
