form.getSaveButton().addClickListener(new Button.ClickListener() {
@Override
public void buttonClick(ClickEvent event) {
form.save();
((JPAContainer)list.getMhsTable().getContainerDataSource()).refresh();
form.clear();
list.getMhsTable().setValue(null);
}
});
list.getMhsTable().addValueChangeListener(new Property.ValueChangeListener() {