public void onClick(ClickEvent event) {
Form<BroadcastGroup> actualForm = form.getForm();
FormValidation validation = actualForm .validate();
if(!validation.hasErrors()) {
BroadcastGroup entity = actualForm.getUpdatedEntity();
presenter.onCreateBroadcastGroup(entity);
}
}
},
new ClickHandler() {