How To Integrate Activiti Modeller Into own Web Application

家住魔仙堡 提交于 2019-12-09 01:38:05

问题


I am very new with activiti and as a part of my project development i need to separate out activiti-modeller from activiti explorer and integrate it with my own web application.

Can anyone give me the steps in detail of how to perform the required activity.

I am using wavemaker 6.5 to develop my application

I went through the source code of activiti explorer but couldnt make out which part to use and how to use it.


回答1:


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



来源:https://stackoverflow.com/questions/25426532/how-to-integrate-activiti-modeller-into-own-web-application

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