| Table of Contents |
|---|
| English |
|---|
| In this tutorial, we will follow the |
...
| Guideline for |
...
| Developing a |
...
| Plugin to develop our Hyperlink Options Filter plugin. Please also refer to the very first tutorial How to develop a Bean Shell Hash Variable for more details steps. |
| Thai |
|---|
ในบทช่วยสอนนี้เราจะทำตามคำแนะนำในการพัฒนาปลั๊กอินเพื่อพัฒนาปลั๊กอินตัวกรองไฮเปอร์ลิงก์ของเรา โปรดอ้างอิงถึงบทช่วยสอนแรกวิธีการพัฒนา How to develop a Bean Shell Hash Variable สำหรับขั้นตอนรายละเอียดเพิ่มเติม |
...
| Thai |
|---|
วิธีแก้ปัญหา |
We will develop a Datalist List Filter Type Plugin to render our Hyperlink Options Filter.
| Thai |
|---|
เราจะพัฒนา Datalist List Filter Type Plugin เพื่อแสดงตัวกรองตัวเลือกไฮเปอร์ลิงก์ของเรา |
...
| Thai |
|---|
มีทรัพยากร / API ที่สามารถนำกลับมาใช้ใหม่ได้หรือไม่? |
Refer to Datalist List Filter Type Plugin.
| Thai |
|---|
อ้างถึง Datalist List Filter Type Plugin |
6. Prepare your development environment
...
The following tutorial is prepared with a Macbook Pro and the Joget Source Code is version 58.0-Snapshot. 1. Please refer to the the Guideline for Developing a Plugin article for other platform commands.
...
| Thai |
|---|
เราจำเป็นต้องให้ซอร์สโค้ด Joget Workflow ของเราพร้อมและสร้างโดยปฏิบัติตาม this guideline บทช่วยสอนต่อไปนี้จัดทำขึ้นด้วย Macbook Pro และรหัสแหล่งที่มาของ Joget เป็นรุ่น 58.0.1 -Snapshot โปรดอ้างอิง Guideline for Developing a Plugin สำหรับคำสั่งแพลตฟอร์มอื่น ๆ สมมติว่าไดเรกทอรีโฟลเดอร์ของเรามีดังนี้ |
| Code Block |
|---|
- Home
- joget
- plugins
- jw-community
-5.0.1 |
The "plugins" directory is the folder we will create and store all our plugins and the "jw-community" directory is where the Joget Workflow Source code is stored.
...
| Code Block | ||
|---|---|---|
| ||
cd joget/plugins/ ~/joget/jw-community/5.0.1/wflow-plugin-archetype/create-plugin.sh org.joget hyperlink_options_filter 58.0.1-Snapshot |
Then, the shell script will ask us to key in a version number for the plugin and ask us for a confirmation before it generates the maven project.
...
| Code Block | ||
|---|---|---|
| ||
Define value for property 'version': 1.0-SNAPSHOT: : 58.0.0-Snapshot [INFO] Using property: package = org.joget Confirm properties configuration: groupId: org.joget artifactId: hyperlink_options_filter version: 5.0.0 package: org.joget Y: : y |
...
Create a "HyperlinkOptionsFilter" class under "org.joget" package. Then, extend the class with org.joget.apps.datalist.model.DataListFilterTypeDefault abstract class. Please refer to Datalist List Filter Type Plugin.
| Thai |
|---|
สร้างคลาส "HyperlinkOptionsFilter" ภายใต้แพ็คเกจ "org.joget" จากนั้นขยายคลาสด้วย org.joget.apps.datalist.model.DataListFilterTypeDefault คลาสนามธรรม โปรดอ้างอิงถึง Datalist List Filter Type Plugin |
b. Implement all the abstract methods
...
To download the ready-to-use plugin jar, please find it in http://marketplace.joget.org/. (Coming Soon)Hyperlink Options Filter Plugin.
| Thai |
|---|
คุณสามารถดาวน์โหลดซอร์สโค้ดได้จาก hyperlink_options_filter_src.zip หากต้องการดาวน์โหลด jar ปลั๊กอินที่พร้อมใช้งานโปรดค้นหาได้ที่ http://marketplace.joget.org/ (เร็ว ๆ นี้) |