use of org.activityinfo.client.page.config.form.PartnerForm in project activityinfo by bedatadriven.
the class DbPartnerGrid method showAddDialog.
@Override
public FormDialogTether showAddDialog(PartnerDTO partner, FormDialogCallback callback) {
PartnerForm form = new PartnerForm();
form.getBinding().bind(partner);
FormDialogImpl dlg = new FormDialogImpl(form);
dlg.setWidth(450);
dlg.setHeight(300);
dlg.setHeading(messages.newPartner());
dlg.show(callback);
return dlg;
}
Aggregations