Hi All, Here is the code I have for suggest box. But the code inside the keypress event is being called twice. Please help
box = new SuggestBox(objOracle); box.addKeyPressHandler(new KeyPressHandler() { public void onKeyPress(KeyPressEvent event) { System.out.println("iN kEY pRESS EVENT"); if (event.getCharCode() == KeyCodes.KEY_ENTER){ mappingTable.populateTable(box.getText()); //being called twice } } }); -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.