Table of Contents |
---|
Usages
Thai |
---|
ตามธรรมเนียม |
Form Load Binder Plugins are used for extending the method of loading data in a form from any data source.
Thai Form Load Binder Plugins ใช้สำหรับขยายวิธีการโหลดข้อมูลในฟอร์มจากแหล่งข้อมูลใด ๆ
Form Options Binder Plugins are used for extending the method of loading data in a form field’s options from any data source.
Thai Form Options Binder Plugins ใช้สำหรับขยายวิธีการโหลดข้อมูลในตัวเลือกของเขตข้อมูลฟอร์มจากแหล่งข้อมูลใด ๆ
Form Store Binder Plugins are used for extending the method of storing data in a form to any data source.
Thai Form Store Binder Plugins ใช้สำหรับขยายวิธีการจัดเก็บข้อมูลในรูปแบบไปยังแหล่งข้อมูลใด ๆ
A useable Form Binder plugin must extends org.joget.apps.form.model.FormBinder abstract class and implements one or more of the corresponding interfaces.
Thai ปลั๊กอิน Form Binder ที่ใช้งานได้จะต้องขยายคลาส org.joget.apps.form.model.FormBinder และใช้อินเตอร์เฟสที่สอดคล้องหนึ่งรายการขึ้นไป
Abstract Class
Thai |
---|
ชั้นนามธรรม |
org.joget.apps.form.model.FormBinder
Under wflow-core module
Thai ภายใต้โมดูล wflow-core
Extended org.joget.plugin.base.ExtDefaultPlugin. Please refer to Plugin Base Abstract Class and Interface.
Thai org.joget.plugin.base.ExtDefaultPlugin ขยาย โปรดอ้างอิงถึง Plugin Base Abstract Class and Interface
Implemented org.joget.plugin.property.model.PropertyEditable. Please refer to Plugin Base Abstract Class and Interface.
Thai ดำเนินการ org.joget.plugin.property.model.PropertyEditable โปรดอ้างอิงถึง Plugin Base Abstract Class and Interface
A base abstract class to develop a Form Load Binder, Form Options Binder or Form Store Binder plugin.
Thai คลาสนามธรรมพื้นฐานเพื่อพัฒนา Form Load Binder, Form Options Binder หรือปลั๊กอิน Form Store Binder
Field Detail
Thai |
---|
รายละเอียดของฟิลด์ |
Constants
Thai |
---|
ค่าคงที่ |
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
Thai |
---|
รหัสคุณสมบัติที่ใช้ในองค์ประกอบเขตข้อมูลฟอร์มเพื่อดึงปลั๊กอินการโหลดแบบฟอร์ม |
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
Thai |
---|
รหัสคุณสมบัติที่ใช้ในองค์ประกอบเขตข้อมูลฟอร์มเพื่อเรียกคืนปลั๊กอินตัวเลือกฟอร์ม |
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
Thai |
---|
รหัสคุณสมบัติที่ใช้ในองค์ประกอบเขตข้อมูลฟอร์มเพื่อดึงแบบฟอร์มปลั๊กอิน Sore Binder |
Method Detail
Thai |
---|
รายละเอียดวิธีการ |
Utility Methods
Thai |
---|
วิธีการยูทิลิตี้ |
getElement
public org.joget.apps.form.model.Element getElement()
Gets the form field element which own this binder
Thai |
---|
รับองค์ประกอบเขตข้อมูลฟอร์มซึ่งเป็นเจ้าของ binder นี้ |
setElement
public void setElement(org.joget.apps.form.model.Element element)
Sets the form field element which own this binder
Thai |
---|
ชุดองค์ประกอบเขตข้อมูลแบบฟอร์มที่เป็นเจ้าของ binder นี้ |
Interface
Thai |
---|
อินเตอร์เฟซ |
org.joget.apps.form.model.FormLoadBinder
Under wflow-core module
Thai ภายใต้โมดูล wflow-core
A Form Load Binder loads data from a data source for use of an element and its children in a form.
Thai โหลดแบบฟอร์ม Binder โหลดข้อมูลจากแหล่งข้อมูลสำหรับการใช้องค์ประกอบและลูก ๆ ของมันในรูปแบบ
Method Detail
Thai |
---|
รายละเอียดวิธีการ |
Interface Methods
Thai |
---|
วิธีการเชื่อมต่อ |
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.
Thai |
---|
โหลดข้อมูลตามคีย์หลัก |
org.joget.apps.form.model.FormLoadElementBinder
Under wflow-core module
Thai ภายใต้โมดูล wflow-core
Used to mark a binder that loads data for an element e.g. form or section.
Thai ใช้เพื่อทำเครื่องหมายเครื่องผูกที่โหลดข้อมูลสำหรับองค์ประกอบเช่น แบบฟอร์มหรือส่วน
Objects implementing this interface will be selectable in the Form Builder.
Thai วัตถุที่ใช้อินเทอร์เฟซนี้จะสามารถเลือกได้ในตัวสร้างแบบฟอร์ม
No interface method is available in this interface
Thai ไม่มีวิธีการอินเทอร์เฟซในอินเทอร์เฟซนี้
org.joget.apps.form.model.FormLoadMultiRowElementBinder
Under wflow-core module
Thai ภายใต้โมดูล wflow-core
Used to mark a binder that loads multi row data for an element e.g. Grid.
Thai ใช้เพื่อทำเครื่องหมายเครื่องผูกที่โหลดข้อมูลหลายแถวสำหรับองค์ประกอบเช่น ตะแกรง
Objects implementing this interface will be selectable in the Form Builder.
Thai วัตถุที่ใช้อินเทอร์เฟซนี้จะสามารถเลือกได้ในตัวสร้างแบบฟอร์ม
No interface method is available in this interface
Thai ไม่มีวิธีการอินเทอร์เฟซในอินเทอร์เฟซนี้
org.joget.apps.form.model.FormStoreBinder
Under wflow-core module
Thai ภายใต้โมดูล wflow-core
A Form Store Binder stores data from an element and its children into a data source.
Thai Form Store Binder เก็บข้อมูลจากองค์ประกอบและลูก ๆ ลงในแหล่งข้อมูล
Method Detail
Thai |
---|
รายละเอียดวิธีการ |
Interface Methods
Thai |
---|
วิธีการเชื่อมต่อ |
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.
Thai |
---|
เก็บข้อมูลในแหล่งข้อมูล |
org.joget.apps.form.model.FormStoreElementBinder
Under wflow-core module
Thai ภายใต้โมดูล wflow-core
Used to mark a binder that stores data for an element e.g. form or section.
Thai ใช้เพื่อทำเครื่องหมายเครื่องผูกที่เก็บข้อมูลสำหรับองค์ประกอบเช่น แบบฟอร์มหรือส่วน
Objects implementing this interface will be selectable in the Form Builder.
Thai วัตถุที่ใช้อินเทอร์เฟซนี้จะสามารถเลือกได้ในตัวสร้างแบบฟอร์ม
No interface method is available in this interface
Thai ไม่มีวิธีการอินเทอร์เฟซในอินเทอร์เฟซนี้
org.joget.apps.form.model.FormStoreMultiRowElementBinder
Under wflow-core module
Thai ภายใต้โมดูล wflow-core
Used to mark a binder that store multi row data for an element e.g. Grid.
Thai ใช้เพื่อทำเครื่องหมายเครื่องผูกที่เก็บข้อมูลหลายแถวสำหรับองค์ประกอบเช่น ตะแกรง
Objects implementing this interface will be selectable in the Form Builder.
Thai วัตถุที่ใช้อินเทอร์เฟซนี้จะสามารถเลือกได้ในตัวสร้างแบบฟอร์ม
No interface method is available in this interface
Thai ไม่มีวิธีการอินเทอร์เฟซในอินเทอร์เฟซนี้
org.joget.apps.form.model.FormLoadOptionsBinder
Under wflow-core module
Thai ภายใต้โมดูล wflow-core
Extends org.joget.apps.form.model.FormLoadBinder.
Thai Used to mark a binder that returns multiple options to populate a form element e.g. selectbox, checkbox, radio, etc.
Thai ใช้เพื่อทำเครื่องหมายเครื่องผูกที่ส่งกลับหลายตัวเลือกเพื่อเติมองค์ประกอบของฟอร์มเช่น selectbox, checkbox, radio, ฯลฯ
Each FormRow object return by FormRowSet object should contains key "value" and "label".
Thai แต่ละ FormRow ส่งคืนโดยFormRowSet ควรมีคีย์ "value" และ "label"
org.joget.apps.form.model.FormAjaxOptionsBinder
Under wflow-core module
Thai ภายใต้โมดูล wflow-core
This interface indicate that a Form Options Binder support retrieving options using AJAX
Thai อินเตอร์เฟสนี้บ่งชี้ว่า Binder ตัวเลือกฟอร์มสนับสนุนการดึงตัวเลือกโดยใช้ AJAX
Must use together with org.joget.apps.form.model.FormLoadOptionsBinder.
Thai ต้องใช้ร่วมกับ org.joget.apps.form.model.FormLoadOptionsBinder
Each FormRow object return by FormRowSet object should contains key "value" and "label".
Thai แต่ละ FormRow ส่งคืนโดย FormRowSet ควรมีคีย์ "value" และ "label"
Method Detail
Thai |
---|
รายละเอียดวิธีการ |
Interface Methods
Thai |
---|
วิธีการเชื่อมต่อ |
useAjax
public boolean useAjax()
Use to decide this field is using AJAX to load its options or not.
Thai |
---|
ใช้เพื่อตัดสินใจว่าฟิลด์นี้ใช้ AJAX เพื่อโหลดตัวเลือกหรือไม่ |
loadAjaxOptions
public org.joget.apps.form.model.FormRowSet loadAjaxOptions(java.lang.String[] dependencyValues);
Retrieve options based on dependency values
Thai |
---|
ดึงตัวเลือกขึ้นอยู่กับค่า dependency |
org.joget.apps.form.model.FormDataDeletableBinder
Under wflow-core module
Thai ภายใต้โมดูล wflow-core
This interface indicate that the form data load by Form Load Binder is deletable from Form Data table.
Thai อินเทอร์เฟซนี้บ่งชี้ว่าการโหลดข้อมูลแบบฟอร์มโดย Form Load Binder สามารถลบได้จากตาราง Data Form
Method Detail
Thai |
---|
รายละเอียดวิธีการ |
Interface Methods
Thai |
---|
วิธีการเชื่อมต่อ |
getFormId
public java.lang.String getFormId()
Get Form Id of the loaded data.
Thai |
---|
รับรหัสแบบฟอร์มของข้อมูลที่โหลด |
getTableName
public java.lang.String getTableName()
Get table name of the loaded data.
Thai |
---|
รับชื่อตารางของข้อมูลที่โหลด |
Plugin Properties Options
Thai |
---|
ตัวเลือกคุณสมบัติปลั๊กอิน |
Please refer to Plugin Properties Options for more information.
Thai โปรดดู Plugin Properties Options สำหรับข้อมูลเพิ่มเติม
Tutorials
Thai |
---|
สอน |
- Guideline for developing a plugin
- How to develop a JDBC Options Binder
- How to develop a JDBC Form Load Binder
- How to develop a JDBC Form Store Binder
- File Upload Form Element Integrated with Amazon S3
Related Community Plugins
Thai |
---|
ปลั๊กอินที่เกี่ยวข้อง |
- Bean Shell Form Binder
org.joget.apps.form.lib.BeanShellFormBinder (wflow-core) - Default Form Binder
org.joget.apps.form.lib.DefaultFormBinder (wflow-core) - Workflow Form Binder
org.joget.apps.form.lib.WorkflowFormBinder (wflow-core)