layout.addMember(form);
IButton button = new IButton("Save New");
button.addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
form.saveData(new DSCallback() {
public void execute(DSResponse response, Object rawData, DSRequest request) {
form.editNewRecord();
}
});
form.reset();