cancel
Showing results for 
Search instead for 
Did you mean: 

User Interfaces with JSF 2.0

chris1
Champ in-the-making
Champ in-the-making
Hi community,

I'm new in Activiti. I want to create a webapplication which is based on a BPMN 2.0 workflow. I want to create my own interfaces for the Human-Task interaction.

    1. Is it possible to model my BPMN 2.0 workflow with the Eclipse modeller and than create my own interfaces for the interaction with the Users?
    2. When its possible, what languages are support (JSF2.0, Grooby…)?
    3. Are there some examples or tutorials which get me an introduction?


Thank you very much for your help.

Regards,
Chris
5 REPLIES 5

trademak
Star Contributor
Star Contributor
Hi,

1. Yes
2. All languages are supported, because you'll have to implement it yourself 😉
We have written the Activiti Explorer with Vaadin so that would give you a headstart.
But you can also write a JSF 2.0 / CDI application with the Activiti CDI module.
In addition, there's a Grails plugin for Activiti.
3. In the Activiti in Action book you can find examples with Vaadin and JSF 2.0 / CDI

Best regards,

chris1
Champ in-the-making
Champ in-the-making
Hey,

thanks for the fast answer.

Now, I have further more questions.

    1. Whats the best way to create a project for activiti and JSF in eclipse or netbeans?
    2. Is it possible to deploy the project on a tomcat server?
Thank you and best regards,
Chris

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
1: like you would for any other webapp, but I'd go for using maven
2: yes, why wouldn't it?

chris1
Champ in-the-making
Champ in-the-making
Ok, i will try it with maven.

I found an example. I done a checkout as a mavenproject in eclipse.
When i build it and want to start the wepapp on my tomcat i get an error.

excetpion:
javax.servlet.ServletException: /taskList.xhtml @36,65 value="#{formService.getTaskFormData(v_task.id).formKey}" Error Parsing: #{formService.getTaskFormData(v_task.id).formKey}
javax.faces.webapp.FacesServlet.service(FacesServlet.java:422)
…..

It's the follw example:

http://code.google.com/p/activitiinaction/downloads/list

The book-cdi-app.

Thank you and best regards,
Chris

mghb2009
Champ in-the-making
Champ in-the-making