|
ตามธรรมเนียม |
Used to provide additional HTML page or Web Service for AJAX call for the system.
ใช้เพื่อให้หน้า HTML เพิ่มเติมหรือบริการบนเว็บสำหรับการโทร AJAX สำหรับระบบ |
A usable Web Service Plugin need to extends org.joget.plugin.base.ExtDefaultPlugin abstract class and implements org.joget.plugin.base.PluginWebSupport interface.
ปลั๊กอินของบริการบนเว็บที่ใช้งานได้จำเป็นต้องขยายคลาส abstract org.joget.plugin.base.ExtDefaultPlugin และใช้ org.joget.plugin.base.PluginWebSupport |
Web Service Plugin can be any plugin from other plugin types which implemented org.joget.plugin.base.PluginWebSupport interface.
ปลั๊กอินบริการบนเว็บสามารถเป็นปลั๊กอินใด ๆ จากปลั๊กอินประเภทอื่นซึ่งใช้งาน org.joget.plugin.base.PluginWebSupport อินเตอร์เฟส |
อินเตอร์เฟซ |
Under wflow-plugin-base module
ภายใต้โมดูล wflow-plugin-base |
Interface for Web Service Plugin
อินเตอร์เฟสสำหรับปลั๊กอินบริการเว็บ |
รายละเอียดวิธีการ |
วิธีการเชื่อมต่อ |
public void webService(javax.servlet.HttpServletRequest request, javax.servlet.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
Work similar to a Servlet.
ทำงานคล้ายกับ Servlet |
รูปแบบ URL |
http:
//localhost:8080/jw/web/json/plugin/org.joget.sample.lib.SimpleFormElement/service?say_something=Hello World
http:
//localhost:8080/jw/web/json/app/crm/1/plugin/org.joget.sample.lib.SimpleFormElement/service?say_something=Hello World
AppDefinition appDef = AppUtil.getCurrentAppDefinition();
ตัวเลือกคุณสมบัติปลั๊กอิน |
Does not support.
ไม่รองรับ |
สอน |
ปลั๊กอินที่เกี่ยวข้อง |