How To Integrate Activiti Modeller Into own Web Application

半世苍凉 提交于 2019-12-01 00:23:06

It's actually quite easy to extract the KisBPM Modeler from the Activiti Explorer.

Extract the following from the source tree into your web application:

  • resources/editor.html
  • resources/plugins.xml
  • resources/stenclset.json
  • webapp/editor
  • webapp/api
  • webapp/explorer
  • webapp/libs
  • editor (THIS IS THE EDITOR SOURCE IF YOU NEED TO MODIFY IT)

Make sure you add a dependency to activiti-modeler in your webapp pom.xml (this will bring import the restlet classes). Create a custom root restlet to map your inbound calls (use explorerRestApplication as a template) Add the restlet declaration to your web.xml

I think that's about it. We successfully extracted the KisBPM editor for use in an embedded environment that used a custom portal implementation.

Cheers, Greg@BP3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!