Changing the Appearance of Work Item Panel Based on the Work Item Information

Oracle BPM WorkSpace 6.0 supports the customization of cells based on the work item information. The following procedure shows you how to customize the information displayed in the Work Items panel, based on the work item information.
To follow this procedure you need to have a Java SE Development Kit 1.5 (JDK 1.5) installed.
To customize the appearance of the information displayed in the Work Items panel:
  1. Create a Java class that implements the interface workspace.model.view.WorkListDecorator.
    1. Add the JAR files fuego.workspace.jar and fuegopapi-client.jar to the CLASSPATH. The following table shows the location of these JAR files:
      JAR File Location
      fuego.workspace.jar <ORABPM_HOME>/webapps/workspace/WEB-INF/lib
      fuegopapi-client.jar <ORABPM_HOME>/client/papi/lib/fuegopapi-client.jar.
    2. Create a Java class that implements the interface workspace.model.view.WorkListDecorator. For a complete reference of this interface, see Interface WorkListDecorator Reference.
    3. Compile the class created in the previous step. You must compile this class with JDK 1.5.
  2. Copy the compiled class to the directory <ORABPM_HOME>/webapps/workspace/WEB-INF/classes. If your class is distributed in a package, you need to create a JAR file and copy it to <ORABPM_HOME>/webapps/workspace/WEB-INF/lib.
  3. Edit the WorkSpace configuration file, workspace.properties located under <ORABPM_HOME>/webapps/workspace/WEB-INF.
  4. Add the key fuego.workspace.worklist.styleResolverClassname and set the value of this property to the fully qualified name of the class created in the previous steps.

    For example, to use the class customization.CustomdWorkListDecorator, you need to add the key value pair fuego.workspace.worklist.styleResolverClassname=customization.CustomWorkListDecorator.

The next time you start up WorkSpace it displays the value of this column with the specified customization.