Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
English
You may want to store certain fields from your form to other tables with the use of the Beanshell Form BinderData StoreFigure 1 shows an example of a form where the first 3 fields are to be stored in another data source in addition to the original form data table.
Thai

คุณอาจต้องการจัดเก็บเขตข้อมูลบางอย่างจากแบบฟอร์มของคุณไปยังตารางอื่นด้วยการใช้ Beanshell Form Binder Data Store รูปที่ 1 แสดงตัวอย่างของฟอร์มที่จะเก็บ 3 ฟิลด์แรกในแหล่งข้อมูลอื่นนอกเหนือจากตารางข้อมูลฟอร์มต้นฉบับ

...

Then, click on the form "Properties" tab and navigates to "Advanced" page. Choose "Bean Shell Form BinderData Store" as Store BinderData Store.

Thai

จากนั้นคลิกที่แท็บ "คุณสมบัติ" แท็บแล้วไปที่หน้า "ขั้นสูง" เลือก "Bean Shell Form BinderData Store" เป็น Store Data Store Binder


Figure 2: Choose Bean Shell Form Binder Data Store as the Store Data Store Binder

Thai

รูปที่ 2: เลือก Bean Binder Data Store ของฟอร์มเป็น Binder Data Store ของร้าน


Configure Bean Shell Form Binder Data Store with your own coding to store the fields as intended, as shown in the figure below.

Code used in this example:

Thai

กำหนดค่า Bean Binder Data Store แบบฟอร์ม Binder Data Store ด้วยการเข้ารหัสของคุณเองเพื่อเก็บฟิลด์ตามที่ต้องการดังแสดงในรูปด้านล่าง

รหัสที่ใช้ในตัวอย่างนี้:

...

Figure 3: Populate Bean Shell Form Binder Data Store with the Necessary Codes

Thai

รูปที่ 3: เติมเครื่องผูกฟอร์มเปลือกถั่วด้วยรหัสที่จำเป็น

...