You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Usages

  • 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.

Abstract Class

org.joget.apps.form.model.FormBinder

Field Detail

Constants
FORM_LOAD_BINDER
public static final java.lang.String FORM_LOAD_BINDER = "loadBinder";

Property key used in in Form Field Element to retrieve Form Load Binder Plugin

FORM_OPTIONS_BINDER
public static final java.lang.String FORM_OPTIONS_BINDER = "optionsBinder";

Property key used in in Form Field Element to retrieve Form Options Binder Plugin

FORM_STORE_BINDER
public static final java.lang.String FORM_STORE_BINDER = "storeBinder";

Property key used in in Form Field Element to retrieve Form Sore Binder Plugin

Method Detail

Utility Methods
getElement
public org.joget.apps.form.model.Element getElement()

Gets the form field element which own this binder

setElement
public void setElement(org.joget.apps.form.model.Element element)

Sets the form field element which own this binder

Interface

org.joget.apps.form.model.FormLoadBinder

  • 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.

Method Detail

Interface Methods
load
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.

org.joget.apps.form.model.FormLoadElementBinder

  • 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

org.joget.apps.form.model.FormLoadMultiRowElementBinder

  • 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

org.joget.apps.form.model.FormStoreBinder

  • Under wflow-core module
  • A Form Store Binder stores data from an element and its children into a data source.

Method Detail

Interface Methods
store
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.

org.joget.apps.form.model.FormStoreElementBinder

  • 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

org.joget.apps.form.model.FormStoreMultiRowElementBinder

  • 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

org.joget.apps.form.model.FormLoadOptionsBinder

org.joget.apps.form.model.FormAjaxOptionsBinder

org.joget.apps.form.model.FormDataDeletableBinder

Plugin Properties Options

Tutorials

  • Not available right now

Related Community Plugins

  • Not available right now
  • No labels