Description |
ลักษณะ |
ตัวอย่างโค้ด |
import org.joget.apps.app.dao.FormDefinitionDao; import org.joget.apps.app.model.FormDefinition; import org.joget.apps.app.model.AppDefinition; import org.joget.apps.app.service.AppUtil; import org.joget.apps.form.model.Form; import org.joget.apps.form.service.FormService; import org.joget.apps.form.service.FormUtil; AppService appService = (AppService) AppUtil.getApplicationContext().getBean("appService"); FormDefinitionDao formDefinitionDao = (FormDefinitionDao) AppUtil.getApplicationContext().getBean("formDefinitionDao"); FormService formService = (FormService) AppUtil.getApplicationContext().getBean("formService"); String id = "crm_account"; String appId = "crm"; Long appVersion = appService.getPublishedVersion(appId); AppDefinition appDef = appService.getAppDefinition(appId, appVersion.toString()); FormDefinition formDef = formDefinitionDao.loadById(formId, appDef); if (formDef != null) { //create the form Form form = (Form) formService.createElementFromJson(formDef.getJson(), true); //Find an element by field id Element e = FormUtil.findElement("accountName", form, null); } |
ฟิลด์ |
public static final java.lang.String FORM_BUILDER_ACTIVE = "formBuilderActive";
Key used to sets the request attribute to indicate the current request is from form builder.
คีย์ที่ใช้เพื่อตั้งค่าแอ็ตทริบิวต์คำร้องขอเพื่อระบุว่าคำร้องขอปัจจุบันมาจากตัวสร้างฟอร์ม |
public static final java.lang.String FORM_ERRORS_PARAM = "_FORM_ERRORS";
Key used to passes the form errors to the next submission for comparison.
รหัสที่ใช้ในการส่งข้อผิดพลาดของแบบฟอร์มไปยังการส่งครั้งถัดไปสำหรับการเปรียบเทียบ |
public static final java.lang.String FORM_META_ORIGINAL_ID = "_FORM_META_ORIGINAL_ID";
Key used to stores the form record id in a hidden field of a form
รหัสที่ใช้ในการจัดเก็บ id บันทึกแบบฟอร์มในเขตข้อมูลที่ซ่อนอยู่ของแบบฟอร์ม |
public static final java.lang.String FORM_RESULT_LOAD_ALL_DATA = "FORM_RESULT_LOAD_ALL_DATA";
Key used by Multi Paged Form to loads all the data from child forms.
คีย์ที่ใช้โดย Multi Paged Form เพื่อโหลดข้อมูลทั้งหมดจากฟอร์มย่อย |
public static final java.lang.String PROPERTY_CLASS_NAME = "className";
Key used to retrieves class name from properties
คีย์ที่ใช้เพื่อดึงชื่อคลาสจากคุณสมบัติ |
public static final java.lang.String PROPERTY_CUSTOM_PROPERTIES = "customProperties";
Prefix for a form id used to builds Hibernate Query (HQL) conditions
คำนำหน้าสำหรับ id ของแบบฟอร์มที่ใช้ในการสร้างเงื่อนไข Hibernate Query (HQL) |
public static final java.lang.String PROPERTY_DATE_CREATED = "dateCreated";
Key used to stores created data of a record
รหัสที่ใช้ในการจัดเก็บข้อมูลที่สร้างขึ้นของบันทึก |
public static final java.lang.String PROPERTY_DATE_MODIFIED = "dateModified";
Key used to stores modified data of a record
กุญแจที่ใช้ในการจัดเก็บหมายเลขวิ่งที่ไม่ซ้ำกันสำหรับองค์ประกอบในคุณสมบัติ |
public static final java.lang.String PROPERTY_ELEMENT_UNIQUE_KEY = "elementUniqueKey";
Key used to to store a unique running number for element in properties
กุญแจที่ใช้ในการจัดเก็บหมายเลขวิ่งที่ไม่ซ้ำกันสำหรับองค์ประกอบในคุณสมบัติ |
public static final java.lang.String PROPERTY_ELEMENTS = "elements";
Key used to retrieves child elements for an element in json
คีย์ที่ใช้เพื่อดึงองค์ประกอบลูกสำหรับองค์ประกอบใน json |
public static final java.lang.String PROPERTY_FORM_DEF_ID = "formdefid";
Key used to retrieves form definition id from properties
คีย์ที่ใช้เพื่อดึง id นิยามของฟอร์มจากคุณสมบัติ |
public static final java.lang.String PROPERTY_GROUPING = "grouping";
Key used to retrieves grouping from properties
คีย์ที่ใช้เพื่อดึงข้อมูลการจัดกลุ่มจากคุณสมบัติ |
public static final java.lang.String PROPERTY_ID = "id";
Key used to retrieves id from properties
คีย์ที่ใช้เพื่อดึงข้อมูล id จากคุณสมบัติ |
public static final java.lang.String PROPERTY_LABEL = "label";
Key used to retrieves label from properties
คีย์ที่ใช้เพื่อดึงข้อมูลเลเบลจากคุณสมบัติ |
public static final java.lang.String PROPERTY_OPTIONS = "options";
Key used to retrieves options from properties
คีย์ที่ใช้เพื่อดึงข้อมูลตัวเลือกจากคุณสมบัติ |
public static final java.lang.String PROPERTY_OPTIONS_DELIMITER = ";";
Delimiter used to separate options
ตัวคั่นใช้เพื่อแยกตัวเลือก |
public static final java.lang.String PROPERTY_POST_PROCESSOR = "postProcessor";
Key used to retrieves post processor tool from properties
คีย์ที่ใช้เพื่อดึงเครื่องมือตัวประมวลผลภายหลังจากคุณสมบัติ |
public static final java.lang.String PROPERTY_POST_PROCESSOR_RUN_ON = "postProcessorRunOn";
Key used to retrieves running mode of a post processor from properties
คีย์ที่ใช้เพื่อเรียกใช้โหมดการทำงานของตัวประมวลผลภายหลังจากคุณสมบัติ |
public static final java.lang.String PROPERTY_PROPERTIES = "properties";
Key used to retrieves element properties from json
คีย์ที่ใช้เพื่อดึงคุณสมบัติขององค์ประกอบจาก json |
public static final java.lang.String PROPERTY_READONLY = "readonly";
Key used to retrieves readonly from properties
คีย์ที่ใช้เพื่อดึงข้อมูลแบบอ่านอย่างเดียวจากคุณสมบัติ |
public static final java.lang.String PROPERTY_READONLY_LABEL = "readonlyLabel";
Key used to retrieves display readonly as label from properties
คีย์ที่ใช้เพื่อดึงข้อมูลการแสดงผลแบบอ่านอย่างเดียวเป็นป้ายกำกับจากคุณสมบัติ |
public static final java.lang.String PROPERTY_SELECTED = "selected";
Key used to retrieves selected from properties
คีย์ที่ใช้เพื่อดึงข้อมูลที่เลือกจากคุณสมบัติ |
public static final java.lang.String PROPERTY_TABLE_NAME = "tableName";
Key used to retrieves table name from json
คีย์ที่ใช้เพื่อดึงชื่อตารางจาก json |
public static final java.lang.String PROPERTY_TEMP_FILE_PATH = "_tempFilePathMap";
Key used to stores the paths of uploaded temporary files
รหัสที่ใช้ในการจัดเก็บเส้นทางของไฟล์ชั่วคราวที่อัปโหลด |
public static final java.lang.String PROPERTY_VALIDATOR = "validator";
Key used to retrieves validator from json
รหัสที่ใช้ในการดึง validator จาก json |
public static final java.lang.String PROPERTY_VALUE = "value";
Key used to retrieves value from properties
คีย์ที่ใช้เพื่อดึงค่าจากคุณสมบัติ |
Methods |
public static void clearProcessedFormJson()
Used by system to clears the current processing form json in current thread
ใช้โดยระบบเพื่อล้างฟอร์มการประมวลผลปัจจุบัน json ในเธรดปัจจุบัน |
public static org.joget.apps.form.model.FormData executeActions(org.joget.apps.form.model.Form form, org.joget.apps.form.model.Element element, org.joget.apps.form.model.FormData formData)
Utility method to recursively find and invoke actions starting from an element.
วิธีการยูทิลิตี้เพื่อค้นหาและเรียกใช้การกระทำที่เริ่มต้นจากองค์ประกอบแบบซ้ำ ๆ |
public static org.joget.apps.form.model.FormData executeElementFormatData(org.joget.apps.form.model.Element element, org.joget.apps.form.model.FormData formData)
Utility method to recursively find and invoke the formatData method starting from an element.
Return a java.util.Map mapping a binder to FormRowSets containing formatted values from all elements.
วิธีการยูทิลิตี้เพื่อค้นหาและเรียกใช้เมธอด formatData ซ้ำโดยเริ่มจากองค์ประกอบ ส่งคืน java.util.Map การแม็พตัวโยงไปยัง FormRowSets ที่มีค่าที่จัดรูปแบบจากองค์ประกอบทั้งหมด |
public static org.joget.apps.form.model.FormData executeElementFormatDataForValidation(org.joget.apps.form.model.Element element, org.joget.apps.form.model.FormData formData)
Utility method to recursively find and invoke the formatDataForValidation method starting from an element.
วิธีการยูทิลิตี้เพื่อค้นหาและเรียกใช้เมธอด formatDataForValidation ซ้ำ ๆ โดยเริ่มจากองค์ประกอบ |
public static org.joget.apps.form.model.FormData executeLoadBinders(org.joget.apps.form.model.Element element, org.joget.apps.form.model.FormData formData)
Utility method to recursively traverse and invoke load binders starting from an element.
วิธีการยูทิลิตี้เพื่อสำรวจซ้ำและเรียกใช้ตัวยึดโหลดที่เริ่มต้นจากองค์ประกอบ |
public static org.joget.apps.form.model.FormData executeOptionBinders(org.joget.apps.form.model.Element element, org.joget.apps.form.model.FormData formData)
Utility method to recursively find and invoke option binders starting from an element.
วิธีการยูทิลิตี้เพื่อค้นหาและเรียกใช้ตัวยึดประสานแบบเรียกซ้ำโดยเริ่มจากองค์ประกอบ |
public static void executePostFormSubmissionProccessor(org.joget.apps.form.model.Form form, org.joget.apps.form.model.FormData formData)
Utility methods to execute tool after form submission
วิธีการยูทิลิตี้เพื่อรันเครื่องมือหลังจากการส่งแบบฟอร์ม |
public static boolean executeValidators(org.joget.apps.form.model.Element element, org.joget.apps.form.model.FormData formData)
Utility method to recursively find and invoke validators starting from an element.
วิธีการยูทิลิตี้เพื่อค้นหาและเรียกใช้เครื่องมือตรวจสอบซ้ำโดยเริ่มจากองค์ประกอบ |
public static org.joget.apps.form.model.Element findAndParseElement(java.lang.String json, java.lang.String fieldId)
Finds and parses the form field element from form json by field id
ค้นหาและแยกวิเคราะห์องค์ประกอบเขตข้อมูลฟอร์มจากแบบฟอร์ม json โดย ID |
public static org.joget.apps.form.model.Element findAndParseElementFromJsonObject(org.json.JSONObject obj, java.lang.String fieldId) throws java.lang.Exception
Finds and parses the form field element from form json object by field id
ค้นหาและแยกวิเคราะห์องค์ประกอบเขตข้อมูลฟอร์มจากวัตถุ json ของฟอร์มโดยใช้ ID ฟิลด์ |
public static org.joget.apps.form.model.Element findElement(java.lang.String id, org.joget.apps.form.model.Element rootElement, org.joget.apps.form.model.FormData formData)
Utility method to recursively find an element by ID.
วิธีการยูทิลิตี้เพื่อค้นหาองค์ประกอบด้วย ID ซ้ำ ๆ |
public static org.joget.apps.form.model.Element findElement(java.lang.String id, org.joget.apps.form.model.Element rootElement, org.joget.apps.form.model.FormData formData, java.lang.Boolean includeSubForm)
Utility method to recursively find an element by ID.
วิธีการยูทิลิตี้เพื่อค้นหาองค์ประกอบด้วย ID ซ้ำ ๆ |
public static org.joget.apps.form.model.FormLoadBinder findLoadBinder(org.joget.apps.form.model.Element element)
Utility method to recursively find the nearest ancestor load binder for an element.
วิธีการยูทิลิตี้เพื่อค้นหา binder ของบรรพบุรุษที่ใกล้เคียงที่สุดแบบเรียกซ้ำสำหรับองค์ประกอบ |
public static org.joget.apps.form.model.FormLoadBinder findOptionsBinder(org.joget.apps.form.model.Element element)
Utility method to recursively find the nearest ancestor options binder for an element.
วิธีการยูทิลิตี้เพื่อค้นหาตัวเลือกบรรพบุรุษที่ใกล้เคียงที่สุดแบบเรียกซ้ำสำหรับองค์ประกอบ |
public static org.joget.apps.form.model.Form findRootForm(org.joget.apps.form.model.Element element)
Utility method to recursively find the parent Form for an element.
วิธีการยูทิลิตี้เพื่อค้นหาแบบฟอร์มหลักสำหรับองค์ประกอบแบบเรียกซ้ำ |
public static org.joget.apps.form.model.FormStoreBinder findStoreBinder(org.joget.apps.form.model.Element element)
Utility method to recursively find the nearest ancestor store binder for an element.
วิธีการยูทิลิตี้เพื่อค้นหา binder ที่เก็บบรรพบุรุษที่อยู่ใกล้ที่สุดซ้ำ ๆ สำหรับองค์ประกอบ |
public static java.lang.String generateDefaultForm(java.lang.String formId, org.joget.apps.app.model.FormDefinition formDef)
Utility method used to creates a new form definition json
วิธีการยูทิลิตี้ที่ใช้ในการสร้างรูปแบบคำนิยามใหม่ json |
public static java.lang.String generateDefaultForm(java.lang.String formId, org.joget.apps.app.model.FormDefinition formDef, org.joget.apps.app.model.FormDefinition copyFormDef)
Utility method used to creates a new form definition json based on another form definition
วิธีการยูทิลิตี้ที่ใช้ในการสร้างรูปแบบคำนิยามใหม่ json ขึ้นอยู่กับการกำหนดรูปแบบอื่น |
public static java.util.Map generateDefaultTemplateDataModel(org.joget.apps.form.model.Element element, org.joget.apps.form.model.FormData formData)
Generates a standard map of data to be used within an element template.
สร้างแผนที่ข้อมูลมาตรฐานที่จะใช้ภายในแม่แบบองค์ประกอบ |
public static java.lang.String generateElementHtml(final org.joget.apps.form.model.Element element, final org.joget.apps.form.model.FormData formData, final java.lang.String templatePath, java.util.Map dataModel)
Generates HTML output using a FreeMarker template.
สร้างเอาต์พุต HTML โดยใช้เทมเพลต FreeMarker |
public static java.lang.String generateElementJson(org.joget.apps.form.model.Element element) throws java.lang.Exception
Generates JSON representing an element.
สร้าง JSON ที่แสดงถึงองค์ประกอบ |
public static org.json.JSONObject generateElementJsonObject(org.joget.apps.form.model.Element element) throws java.lang.Exception
Generates a JSONObject to represent an element
สร้าง JSONObject เพื่อเป็นตัวแทนองค์ประกอบ |
public static java.lang.String generateElementMetaData(org.joget.apps.form.model.Element element)
Generates the HTML tag meta data for the element that is used by the form builder.
สร้างข้อมูลเมตาแท็ก HTML สำหรับองค์ประกอบที่ใช้โดยเครื่องมือสร้างแบบฟอร์ม |
public static java.lang.String generateElementPropertyJson(org.joget.apps.form.model.Element element)
Generates JSON representing the properties of an element.
สร้าง JSON ที่แสดงคุณสมบัติขององค์ประกอบ |
public static java.lang.String generateElementPropertyValues(java.lang.String[] values)
Generates a delimited string from an array of Strings.
สร้างสตริงที่มีการคั่นจากอาร์เรย์ของสตริง |
public static org.json.JSONObject generatePropertyJsonObject(Map<java.lang.String, java.lang.Object> properties) throws org.json.JSONException
Generates a org.json.JSONObject to represent the properties of an element
สร้าง org.json.JSONObject เพื่อแสดงคุณสมบัติขององค์ประกอบ |
public static org.joget.apps.form.model.FormRowSet getAjaxOptionsBinderData(java.lang.String dependencyValue, org.joget.apps.app.model.AppDefinition appDef, java.lang.String nonce, java.lang.String binderData)
Gets data from Options Binder for AJAX call
รับข้อมูลจาก Options Binder สำหรับการโทร AJAX |
public static org.springframework.context.ApplicationContext getApplicationContext()
Utility method to retrieve the ApplicationContext of the system
วิธีการ Utility เพื่อดึง ApplicationContext ของระบบ |
public static java.lang.String getElementError(org.joget.apps.form.model.Element element, org.joget.apps.form.model.FormData formData)
Retrieve the error attached to the element
ดึงข้อผิดพลาดที่แนบมากับองค์ประกอบ |
public static java.lang.String getElementParameterName(org.joget.apps.form.model.Element element)
Returns the parameter name for the element.
ส่งคืนชื่อพารามิเตอร์สำหรับองค์ประกอบ |
public static java.lang.String getElementProcessedJson(org.joget.apps.form.model.Element element)
Utility method to convert an element to json
วิธีการยูทิลิตี้ในการแปลงองค์ประกอบเป็น JSON |
public static java.util.Collection<java.util.Map> getElementPropertyOptionsMap(org.joget.apps.form.model.Element element, org.joget.apps.form.model.FormData formData)
Retrieves the property options for an element, first from the element's options binder. If no binder is available, the default options are used.
ดึงตัวเลือกคุณสมบัติสำหรับองค์ประกอบแรกจากตัวเลือกองค์ประกอบของตัวยึด หากไม่มีแฟ้มประสานจะใช้ตัวเลือกเริ่มต้น |
public static java.lang.String getElementPropertyValue(org.joget.apps.form.model.Element element, org.joget.apps.form.model.FormData formData)
Retrieves the property value for an element, first from the element's load binder. If no binder is available, the default value is used.
Overrides the binder/default value when value from request parameter is available.
ดึงค่าคุณสมบัติสำหรับองค์ประกอบแรกจากเครื่องผูกขององค์ประกอบ หากไม่มีแฟ้มประสานจะใช้ค่าเริ่มต้น |
public static java.lang.String[] getElementPropertyValues(org.joget.apps.form.model.Element element, org.joget.apps.form.model.FormData formData)
Retrieves the property value for an element, first from the element's load binder. If no binder is available, the default value is used.
Overrides the binder/default value when value from request parameter is available.
This method supports multiple values for a property.
ดึงค่าคุณสมบัติสำหรับองค์ประกอบแรกจากเครื่องผูกขององค์ประกอบ หากไม่มีแฟ้มประสานจะใช้ค่าเริ่มต้น |
public static java.lang.String getElementValidatorDecoration(org.joget.apps.form.model.Element element, org.joget.apps.form.model.FormData formData)
Retrieve a decoration on an element by any attached validator, e.g. marking a required field.
รับการตกแต่งในองค์ประกอบโดยเครื่องมือตรวจสอบใด ๆ ที่แนบมาเช่น ทำเครื่องหมายฟิลด์ที่ต้องการ |
public static java.util.Collection<java.util.Map<java.lang.String, java.lang.String>> getFormColumns(org.joget.apps.app.model.AppDefinition appDef, java.lang.String formId)
Retrieve all form fields id & label in form data table
ดึงข้อมูล ID ฟิลด์และฉลากทั้งหมดในตารางข้อมูลแบบฟอร์ม |
public static java.lang.String getProcessedFormJson()
Used by system to gets the current processing form json in current thread
ใช้โดยระบบเพื่อรับรูปแบบการประมวลผลปัจจุบัน json ในเธรดปัจจุบัน |
public static java.lang.String getRequestParameter(org.joget.apps.form.model.Element element, org.joget.apps.form.model.FormData formData)
Returns the request parameter value for an element
ส่งคืนค่าพารามิเตอร์คำขอสำหรับองค์ประกอบ |
public static java.lang.String[] getRequestParameterValues(org.joget.apps.form.model.Element element, org.joget.apps.form.model.FormData formData)
Returns the request parameter value for an element
ส่งคืนค่าพารามิเตอร์คำขอสำหรับองค์ประกอบ |
public static java.lang.String getUniqueKey()
Gets a running number a unique key
รับค่าหมายเลขเรียกใช้เป็นรหัสเฉพาะ |
public static boolean isAjaxOptionsSupported(org.joget.apps.form.model.Element element, org.joget.apps.form.model.FormData formData)
Check the element is using Ajax to load options
ตรวจสอบองค์ประกอบที่ใช้ Ajax เพื่อโหลดตัวเลือก |
public static boolean isElementPropertyValuesChanges(org.joget.apps.form.model.Element element, org.joget.apps.form.model.FormData formData, java.lang.String[] updatedValues)
Utility methods to check the value of an element is changed
วิธีการยูทิลิตี้เพื่อตรวจสอบค่าขององค์ประกอบที่มีการเปลี่ยนแปลง |
public static boolean isFormBuilderActive()
Check whether request is currently in the form builder.
ตรวจสอบว่าคำขออยู่ในตัวสร้างฟอร์มหรือไม่ |
public static boolean isFormSubmitted(org.joget.apps.form.model.Element element, org.joget.apps.form.model.FormData formData)
Check a form is submitted or not
ส่งแบบฟอร์มเช็คหรือไม่ |
public static boolean isReadonly(org.joget.apps.form.model.Element element, org.joget.apps.form.model.FormData formData)
Check an element is readonly or not
ตรวจสอบองค์ประกอบเป็นแบบอ่านอย่างเดียวหรือไม่ |
public static java.util.Map<java.lang.String, java.lang.Object> loadFormData(final java.lang.String appId, final java.lang.String appVersion, final java.lang.String formDefId, final java.lang.String primaryKeyValue, final boolean includeSubformData, final boolean includeReferenceElements, final boolean flatten, final org.joget.workflow.model.WorkflowAssignment assignment)
Utility method to fetch submitted form data values including data from subforms, and reference fields.
Returns a key-value pair (optionally flattened) for all the data that is part of a form submission.
The returned data includes top level form data, subform data (including recursive subforms), and data pointed by reference fields (like SelectBox pointing to a datalist item)
Parameters:
includeSubformData - true to recursively include subform data
includeReferenceElements - true to include data from reference elements e.g. selectbox, etc.
flatten - true to flatten data into a one level key-value map
assignment - Optional workflow assignment (for assignment hash variables)
Return a java.util.Map<java.lang.String,Object> representing the form data. The key is the element ID, and the value is either a java.lang.String for an element value, java.util.Map<java.lang.String,Object> representing subform data, or java.util.Collection<java.util.Map<java.lang.String,Object>> for reference fields.
วิธีการยูทิลิตี้เพื่อดึงค่าข้อมูลแบบฟอร์มที่ส่งรวมถึงข้อมูลจากฟอร์มย่อยและเขตข้อมูลอ้างอิง พารามิเตอร์: |
public static java.lang.String loadFormDataJson(java.lang.String appId, java.lang.String appVersion, java.lang.String formDefId, java.lang.String primaryKeyValue, boolean includeSubformData, boolean includeReferenceElements, boolean flatten, org.joget.workflow.model.WorkflowAssignment assignment) throws org.json.JSONException
Similar to loadFormData, returns results in JSON format.
คล้ายกับ loadFormData ส่งคืนผลลัพธ์ในรูปแบบ JSON |
public static org.joget.apps.form.model.FormBinder parseBinderFromJsonObject(org.json.JSONObject obj, org.joget.apps.form.model.Element element, java.lang.String binderType) throws java.lang.Exception
Parse binder object from element json object
แยกวิเคราะห์วัตถุจากองค์ประกอบ json วัตถุ |
public static void parseChildElementsFromJsonObject(org.json.JSONObject obj, org.joget.apps.form.model.Element parent) throws java.lang.Exception
Parse child elements from element json object
แยกวิเคราะห์องค์ประกอบลูกจากองค์ประกอบ json วัตถุ |
public static org.joget.apps.form.model.Element parseElementFromJson(java.lang.String json) throws java.lang.Exception
Parses form field element from the element json string
แยกวิเคราะห์องค์ประกอบเขตข้อมูลฟอร์มจากองค์ประกอบ json สตริง |
public static org.joget.apps.form.model.Element parseElementFromJsonObject(org.json.JSONObject obj, org.joget.apps.form.model.Element parent) throws java.lang.Exception
Parses form field element from the element json object
แยกวิเคราะห์องค์ประกอบเขตข้อมูลฟอร์มจากองค์ประกอบ json วัตถุ |
public static java.util.Map<java.lang.String, java.lang.Object> parsePropertyFromJsonObject(org.json.JSONObject obj) throws org.json.JSONException
Parses the properties attribute from a JSON object into a Map
แยกวิเคราะห์คุณสมบัติคุณสมบัติจากวัตถุ JSON ลงในแผนที่ |
public static org.joget.apps.form.model.Validator parseValidatorFromJsonObject(org.json.JSONObject obj) throws java.lang.Exception
Parse validator object from element json object
ตรวจสอบแยกวิเคราะห์วัตถุจากองค์ประกอบ json วัตถุ |
public static void setAjaxOptionsElementProperties(org.joget.apps.form.model.Element element, org.joget.apps.form.model.FormData formData)
Sets security data for multi options element which using Ajax call to load options
ตั้งค่าข้อมูลความปลอดภัยสำหรับองค์ประกอบหลายตัวเลือกที่ใช้ Ajax call เพื่อโหลดตัวเลือก |
public static void setFormBuilderActive(java.lang.Boolean active)
Sets flag in request to indicate whether is currently in the form builder.
ตั้งค่าสถานะในคำขอเพื่อระบุว่าขณะนี้อยู่ในตัวสร้างแบบฟอร์ม |
public static void setProcessedFormJson(java.lang.String json)
Used by system to sets the current processing form json in current thread
ใช้โดยระบบเพื่อตั้งค่ารูปแบบการประมวลผลปัจจุบัน json ในเธรดปัจจุบัน |
public static void setReadOnlyProperty(org.joget.apps.form.model.Element element)
Recursively set the readonly property for all descendent elements.
ตั้งค่าคุณสมบัติแบบอ่านซ้ำสำหรับองค์ประกอบที่สืบทอดทั้งหมด |
public static void setReadOnlyProperty(org.joget.apps.form.model.Element element, java.lang.Boolean readonly, java.lang.Boolean label)
Recursively set the readonly property for all descendent elements.
ตั้งค่าคุณสมบัติแบบอ่านซ้ำสำหรับองค์ประกอบที่สืบทอดทั้งหมด |