...
| ชื่อ | คำอธิบาย |
|---|
| Label | ชื่อลิงค์/ปุ่ม |
| Confirmation Message | ข้อความยืนยันก่อนการดำเนินการ |
| Datasource | - Custom Datasource
- Default Datasource
โดยการเลือกแหล่งข้อมูลเริ่มต้นฐานข้อมูลที่ Joget ของคุณกำลังใช้งานอยู่จะถูกเลือก |
| Custom JDBC Driver | Custom JDBC Driver. ฟิลด์นี้จำเป็นเมื่อเลือก Custom Datasource ใน Datasource ด้านบน |
| Custom JDBC URL | Custom JDBC URL. ฟิลด์นี้จำเป็นเมื่อเลือก Custom Datasource ใน Datasource ด้านบน |
| Custom JDBC Username | Custom JDBC Username. ฟิลด์นี้จำเป็นเมื่อเลือก Custom Datasource ใน Datasource ด้านบน |
| Custom JDBC Password | Custom JDBC Password. ฟิลด์นี้จำเป็นเมื่อเลือก Custom Datasource ใน Datasource ด้านบน | Info |
|---|
| title | Test the connection parameters |
|---|
| Click on the คลิกที่ปุ่ม "Test Connection" button at the bottom of the page to quickly test out your configurations.ที่ด้านล่างของหน้าเพื่อทดสอบการกำหนดค่าของคุณอย่างรวดเร็ว |
|
| Query | Insert your SQL statement here. Use syntax like ใส่คำสั่ง SQL ของคุณที่นี่ ใช้ไวยากรณ์เช่น {id} in query to inject the selected row key.Use ในแบบสอบถามเพื่อแทรกคีย์แถวที่เลือกไว้ ใช้ {uuid} to generate a unique id. เพื่อสร้างรหัสเฉพาะ | Code Block |
|---|
| title | Sample |
|---|
| linenumbers | true |
|---|
| INSERT INTO app_fd_sample (id, c_clicked) VALUES ( {uuid}, {id} ); |
| Code Block |
|---|
| title | Sample |
|---|
| linenumbers | true |
|---|
| UPDATE app_fd_sample SET c_clicked = CONCAT(c_clicked, ',', {id}) WHERE id = '123'; |
| Info |
|---|
| The special parameters พารามิเตอร์พิเศษ {id} and และ {uuid} will be replaced with actual values through the use of PreparedStatement. จะถูกแทนที่ด้วยค่าที่แท้จริงผ่านการใช้ PreparedStatement. ในขณะที่คุณสามารถดูจากตัวอย่างข้างต้นไม่มีความจำเป็นที่จะห่อหุ้มทั้งสองคีย์เวิร์ดพิเศษเหล่านี้ด้วยคำพูดAs you can see from the example above, there is no need to encapsulate both of these special keywords with quotes. |
|

Figure รูปที่ 3: JDBC คุณสมบัติ JDBC Datalist Action Properties - Visibility Control การควบคุมการมองเห็น
| Nameชื่อ | Descriptionคำอธิบาย |
|---|
| Rules | Controls on when the action should appear based on the condition(s) set.ควบคุมเมื่อการดำเนินการควรปรากฏขึ้นตามเงื่อนไขที่ตั้งไว้ |