Search in sources :

Example 1 with PartnerForm

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;
}
Also used : PartnerForm(org.activityinfo.client.page.config.form.PartnerForm) FormDialogImpl(org.activityinfo.client.page.common.dialog.FormDialogImpl)

Aggregations

FormDialogImpl (org.activityinfo.client.page.common.dialog.FormDialogImpl)1 PartnerForm (org.activityinfo.client.page.config.form.PartnerForm)1