Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
English |
---|
Step 1: Create a Search Form |
Thai |
---|
ขั้นตอนที่ 1: สร้างแบบฟอร์มการค้นหา |
Create a new form and pre-populate the "id" with current user's username. This is so that the calendar menu Calendar Menu would be able to locate the exact search value using current logged in user's ID Logged In User's ID later on.
Thai |
---|
สร้างแบบฟอร์มใหม่และเติม "id" ด้วยชื่อผู้ใช้ปัจจุบัน นี่คือเพื่อให้เมนูปฏิทินจะสามารถค้นหาค่าการค้นหาที่แน่นอนโดยใช้ ID ผู้ใช้ที่ล็อกอินปัจจุบันในภายหลัง |
...
...
Thai |
---|
ขั้นตอนที่ 2: เพิ่มเมนูUserview แบบฟอร์มลงใน UserviewUI แบบฟอร์มลงใน UI |
With the form created, we can now make it available to the end user.
Thai |
---|
ด้วยการสร้างฟอร์มเราสามารถทำให้ผู้ใช้ปลายทางสามารถใช้งานได้ |
Add a Form menu Menu to the UserviewUI .
Thai |
---|
เพิ่มเมนูแบบฟอร์มไปที่ UserviewUI |
In "URL Redirect After Form Submission", key in a unique custom Menu ID such that it will redirect to the Calendar menu.
Thai |
---|
ใน "การเปลี่ยนเส้นทาง URL หลังจากส่งแบบฟอร์ม" ให้ป้อนรหัสที่กำหนดเองที่ไม่ซ้ำซึ่งจะเปลี่ยนเส้นทางไปยังเมนูปฏิทิน |
The rationale here is that user will fill up the search form, submit the form, and gets redirected to the calendar that is filtered by the user.
Thai |
---|
เหตุผลที่นี่คือผู้ใช้จะกรอกแบบฟอร์มการค้นหาส่งแบบฟอร์มและได้รับการเปลี่ยนเส้นทางไปยังปฏิทินที่ถูกกรองโดยผู้ใช้ |
...
Thai |
---|
ขั้นตอนที่ 3: กำหนดค่าปฏิทินเพื่อกรอง |
Make use of binder data store such as "Advanced Form Data Binderdata store".
Thai |
---|
ใช้ประโยชน์จากสารยึดเกาะเช่น "Advanced Data Data Binderdata store" |
Under "Filter Conditions", add in as much row as needed to.
Thai |
---|
ภายใต้ "เงื่อนไขการกรอง" ให้เพิ่มแถวมากเท่าที่จำเป็น |
Choose the appropriate field that you want to filter.
Thai |
---|
เลือกฟิลด์ที่เหมาะสมที่คุณต้องการกรอง |
Set operator to "Like" to return matching value.
Thai |
---|
ตั้งค่าโอเปอเรเตอร์เป็น "ถูกใจ" เพื่อคืนค่าการจับคู่ |
And, in value, we can make use of form hash variable to obtain the value from the search form.
Thai |
---|
และตามค่าเราสามารถใช้ตัวแปรแฮชฟอร์มเพื่อรับค่าจากฟอร์มการค้นหา |
Code Block | ||
---|---|---|
| ||
%#form.j_meetingsearch.title[{currentUser.id}]#% |
Download the sample app here:
Thai |
---|
องค์ประกอบที่เกี่ยวข้อง |
...