5354555657585960616263
this.formView.asWidget().addDomHandler(new PKeyUpFilterHandler(PKeyCodes.ENTER) { @Override public void onKeyUp(final PKeyUpEvent keyUpEvent) { if (isValid()) { fireEvent(new SubmitFormEvent(FormActivity.this)); } } }, PKeyUpEvent.TYPE); }