- Form Load Binder Plugins are used for extending the method of loading data in a form from any data source.
- Form Options Binder Plugins are used for extending the method of loading data in a form field’s options from any data source.
- Form Store Binder Plugins are used for extending the method of storing data in a form to any data source.
- A useable Form Binder Element plugin must extends org.joget.apps.form.model.FormBinder abstract class and implements one or more of the corresponding interfaces.
public static final java.lang.String FORM_LOAD_BINDER = "loadBinder";
Property key used in in Form Field Element to retrieve Form Load Binder Plugin
public static final java.lang.String FORM_OPTIONS_BINDER = "optionsBinder";
Property key used in in Form Field Element to retrieve Form Options Binder Plugin
public static final java.lang.String FORM_STORE_BINDER = "storeBinder";
Property key used in in Form Field Element to retrieve Form Sore Binder Plugin
public org.joget.apps.form.model.Element getElement()
Gets the form field element which own this binder
public void setElement(org.joget.apps.form.model.Element element)
Sets the form field element which own this binder
- Under wflow-core module
- A Form Load Binder loads data from a data source for use of an element and its children in a form.
public org.joget.apps.form.model.FormRowSet load(org.joget.apps.form.model.Element element, java.lang.String primaryKey, org.joget.apps.form.model.FormData formData)
Loads data based on a primary key.
- Under wflow-core module
- Used to mark a binder that loads data for an element e.g. form or section.
- Objects implementing this interface will be selectable in the Form Builder.
- No interface method is available in this interface
- Under wflow-core module
- Used to mark a binder that loads multi row data for an element e.g. Grid.
- Objects implementing this interface will be selectable in the Form Builder.
- No interface method is available in this interface
- Under wflow-core module
- A Form Store Binder stores data from an element and its children into a data source.
public org.joget.apps.form.model.FormRowSet store(org.joget.apps.form.model.Element element, org.joget.apps.form.model.FormRowSet rows, org.joget.apps.form.model.FormData formData)
Stores data in the data source.
- Under wflow-core module
- Used to mark a binder that stores data for an element e.g. form or section.
- Objects implementing this interface will be selectable in the Form Builder.
- No interface method is available in this interface
- Under wflow-core module
- Used to mark a binder that store multi row data for an element e.g. Grid.
- Objects implementing this interface will be selectable in the Form Builder.
- No interface method is available in this interface