Class WorkitemRefAdapter

java.lang.Object
org.imixs.workflow.office.textadapter.WorkitemRefAdapter

public class WorkitemRefAdapter extends Object
The TextAdapterWorkitemRef replaces text fragments with the tag ... The item name of this tag will be replaced with the iteam value from the corresponding workitem.

Example:

Plant ID : <workitemref filter="xxx">plant.id</workitemref>.

This will replace the tag with the item value of plant.id from the reffered workitem.

Author:
rsoika
  • Field Details

    • workflowController

      @Inject protected org.imixs.workflow.faces.data.WorkflowController workflowController
    • workitemLinkController

      @Inject protected WorkitemLinkController workitemLinkController
  • Constructor Details

    • WorkitemRefAdapter

      public WorkitemRefAdapter()
  • Method Details

    • onEvent

      public void onEvent(@Observes org.imixs.workflow.engine.TextEvent event)
      This method reacts on CDI events of the type TextEvent and parses a string for xml tag . Those tags will be replaced with the corresponding display name of the user profile.