Imixs Workflow ...the open source workflow technology for business applications

Web Tools

Deployment

The deployment of the Imixs JSF Tools is very easy. The component needs simply be added to the /WEB-INF/lib folder of your web module. If you are using maven (which is recommended) you can simply add the following dependency into your pom.xml

 <dependency>
        <groupId>org.imixs.workflow</groupId>
        <artifactId>imixs-workflow-jsf</artifactId>
        <version>2.1.0</version> 
 </dependency>

To see the lates version provided by thsi project you can browse the Maven repository.

Adding a BackingBean

After you have integrated the Imixs JSF Tools into you web project you can add a BackingBean provided by the JSF Tools by simply extending the faces-config.xml file located in the /WEB-INF folder of you web project.

<managed-bean>
        <managed-bean-name>workflowMB</managed-bean-name>
        <managed-bean-class>org.imixs.workflow.jee.jsf.util.SimpleWorkflowController</managed-bean-class>
        <managed-bean-scope>session</managed-bean-scope>
</managed-bean>

If you subclass the AbstractWorkflowController you should add the Class name provided by the tag managed-bean-class. This Example make use of the default SimpleWorkflowController.

Now deployment is finished and you can use the new Controller in you JSF Pages.

Note:
The SimpleWorkflowController assumes that you have an instance of the Imixs Workflow JEE components installed in you JEE module. Also it is necessary that you provide the application with a valid workflow model. See details on the JEE Workflow site and Workflow Modeler site