layout.add(form.asWidget());
ClickHandler submitHandler = new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
FormValidation validation = form.validate();
if(!validation.hasErrors())
{
wizard.onConfigureBaseAttributes(form.getUpdatedEntity());
}
}
};