use of edu.stanford.bmir.protege.web.shared.form.SetFormDataAction in project webprotege by protegeproject.
the class CollectionPresenter method submitFormData.
private void submitFormData() {
GWT.log("[CollectionPresenter] Submitting form data. Current place is " + current);
FormData formData = formPresenter.getFormData();
current.ifPresent(subject -> {
GWT.log("[CollectionPresenter] Saving data for " + subject.getSelection());
dispatchServiceManager.execute(new SetFormDataAction(subject.getProjectId(), subject.getCollectionId(), subject.getSelection().get(), subject.getFormId(), formData), result -> {
});
});
}
Aggregations