Usages

ตามธรรมเนียม

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

รหัสคุณสมบัติที่ใช้ในองค์ประกอบเขตข้อมูลฟอร์มเพื่อดึงแบบฟอร์มปลั๊กอิน Sore Binder

Method Detail

รายละเอียดวิธีการ

Utility Methods
วิธีการยูทิลิตี้
getElement
public org.joget.apps.form.model.Element getElement()

Gets the form field element which own this binder

รับองค์ประกอบเขตข้อมูลฟอร์มซึ่งเป็นเจ้าของ binder นี้

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

Sets the form field element which own this binder

ชุดองค์ประกอบเขตข้อมูลแบบฟอร์มที่เป็นเจ้าของ binder นี้

Interface

อินเตอร์เฟซ

org.joget.apps.form.model.FormLoadBinder

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

org.joget.apps.form.model.FormLoadMultiRowElementBinder

org.joget.apps.form.model.FormStoreBinder

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

org.joget.apps.form.model.FormStoreMultiRowElementBinder

org.joget.apps.form.model.FormLoadOptionsBinder

org.joget.apps.form.model.FormAjaxOptionsBinder

Method Detail

รายละเอียดวิธีการ

Interface Methods
วิธีการเชื่อมต่อ
useAjax
public boolean useAjax()

Use to decide this field is using AJAX to load its options or not. 

ใช้เพื่อตัดสินใจว่าฟิลด์นี้ใช้ AJAX เพื่อโหลดตัวเลือกหรือไม่

loadAjaxOptions
public org.joget.apps.form.model.FormRowSet loadAjaxOptions(java.lang.String[] dependencyValues);

Retrieve options based on dependency values

ดึงตัวเลือกขึ้นอยู่กับค่า dependency

org.joget.apps.form.model.FormDataDeletableBinder

Method Detail

รายละเอียดวิธีการ

Interface Methods
วิธีการเชื่อมต่อ
getFormId
public java.lang.String getFormId()

Get Form Id of the loaded data.

รับรหัสแบบฟอร์มของข้อมูลที่โหลด

getTableName
public java.lang.String getTableName()

Get table name of the loaded data.

รับชื่อตารางของข้อมูลที่โหลด

Plugin Properties Options

ตัวเลือกคุณสมบัติปลั๊กอิน

Tutorials

สอน

Related Community Plugins

ปลั๊กอินที่เกี่ยวข้อง