cancel
Showing results for 
Search instead for 
Did you mean: 

Integration Activiti UserTask and JSF

ryu
Champ in-the-making
Champ in-the-making
Hi all,

Our current project uses JSF and EJB to build applications… I see that Activiti has a nice web application called Activiti Explorer, which uses Spring MVC. With it, views can be called via a userTask and form data are mapped automatically into process's variables. So my question is, if it is possible that we modify our JSF (or the engine) so that JSF has these functionalities with userTask.

I am not familiar with Spring MVC, it would be nice if you can give me:
(1) some hints, or
(2) a list of modifications you can think of, as a starting point for me to look into, or
(3) the fundamentals of Activiti Explorer in relation with Activiti Engine?

Thank you very much
14 REPLIES 14

kennardconsulti
Champ in-the-making
Champ in-the-making
Hi guys,

Congratulations on the 5.4 release! Did this feature (including Metawidget/PrimeFaces) make it into the release? I couldn't see the metawidget/primefaces JARs anywhere in the ZIP?

If not, what are your future plans for this feature?

Regards,

Richard.

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
No it has not,  and it will, like mentioned earlier, more likely be a separate addon like the grails one.

Due to some priority changes within the company I work for and things I have to do privately, there has been to little time to work on it. There will be more time available the coming month, so I'll try to finish it.

kennardconsulti
Champ in-the-making
Champ in-the-making
Ronald,

Okay great. Please let me know if there is anything I can do to support you.

I am currently reworking Metawidget into a Maven build to give better control over dependencies, including being able to include just the parts you actually need (such as PrimeFaces, in your case). More details here if you're interested.

Regards,

Richard.

luisalves00
Champ in-the-making
Champ in-the-making
I'm doing a JSF 2.0 + Primefaces 3.0M1 + JPA 2.0 (EclipseLink) with Activiti 5.4 but not using any kind of dynamically generated forms…

looking forward to see ronald.van.kuijk JSF project Smiley Happy

idireneyoucef
Confirmed Champ
Confirmed Champ

hi everyone,

i do the same work, i want to assigne a task to user  i use <f:metadata> to "#{businessProcess.startTask(taskId, true)}"

and when i click my button 

action=" #{businessProcess.completeTask(true)}"

i have this erreur

Avertissement: StandardWrapperValve[Faces Servlet]: PWC1406: Servlet.service() for servlet Faces Servlet threw exception
org.activiti.cdi.ActivitiCdiException: No task associated. Call businessProcess.startTask() first.

need help pleas.