Widget bundle overview - bluesoft-rnd/aperte-workflow-core GitHub Wiki

Basic goal of widget bundle is to provide reusable UI elements that can be consumed by business processes deployed into Aperte Workflow to render tasks that require human interaction. Widgets are developed with Vaadin RIA Framework and deployed as separate OSGi bundles.

It is also possible to combine different plugins into an OSGi bundle - for example widget should be joined with model enhancement used by it - as in UserData Widget Plugin.

Widget bundle headers

Aperte Workflow lets bundles to provide additional headers inside standard manifest file /META-INF/MANIFEST.MF:

  • ProcessTool-Widget-Enhancement - contains comma separated list of provided widget class names, optional
  • ProcessTool-Button-Enhancement - contains comma separated list of provided button widget class names, optional
  • ProcessTool-I18N-Property - contains the name of I18N property file used by this bundle, optional

Widget bundle installation

Copy the process bundle jar into your existing Aperte Workflow installation. Place it into bundle installation directory. If not changed in PluginServlet init parameters it should be either ${aperte.workflow.home}/osgi-plugins or ${liferay.home}/osgi-plugins.

Example widget bundle

Example of fully functional widget bundle can be found inside Aperte Workflow Core project, in CMIS Widget Plugin.

⚠️ **GitHub.com Fallback** ⚠️