return new PKeyCodes[] {
PKeyCodes.ENTER
};
}
});
<BUG>view.getLoginButton().addClickHandler(new PClickHandler() {

@Override
public void onClick(final PClickEvent event) {
doLogin();
}
});</BUG>
doLogin();

return new PKeyCodes[] {
PKeyCodes.ENTER
};
