cancel
Showing results for 
Search instead for 
Did you mean: 

Extend the Activiti Explorer activiti:formProperty

ioana
Champ in-the-making
Champ in-the-making
Hi,

I've been working for a while with Activiti and I now need to extend the formProperty. I want to list in the Activiti-Explorer(!!) my own form (e.g. for a task user) that also has radio buttons, check buttons, textArea etc. It is very important to integrate this with the Activiti-Explorer and not to have a different view. What will be the best approach to achieve this? I've look into JSF and Vaadin, but they only use (at least so I understood) the Activiti API.

Thank you,

Ioana
5 REPLIES 5

lpavone
Champ in-the-making
Champ in-the-making
Hi Ioana,
Have you already taken a decission about it?
I'm in the same question now and I'd like to know how difficult is to extend Activiti Explorer with new fields and forms…
Thanks.

frederikherema1
Star Contributor
Star Contributor
Take a look in the codebase at org.activiti.explorer.form.UserFormType on how easy it is to add a custom form-type in activity explorer…
Also look into org.activiti.explorer.ui.form.UserFormPropertyRenderer, this class is responsible for rendering the actual control.

Both classes are hooked into the engine and Explorer UI using configuration…

lpavone
Champ in-the-making
Champ in-the-making
Hi Frederik thanks a lot for reply.
I was looking the code and you are right, at least at glance seems easy to extend and the interfaces are clear.
Thanks again.

burn83
Champ in-the-making
Champ in-the-making
hi , i have same question..i've readed something in prevoius posts, but i had any response to solve it…

Can someone attach a brief example in order to add, for example, a png in form?! I would add a png image (30px x 30px) above my form, on top on the field..

lpavone
Champ in-the-making
Champ in-the-making
burn83: I have no examples because finally I decided use Activiti embbebed in our webapp, but looking the classes which Frederik says you can find the way to extend a form with others components. Those classes are part of Activiti Explorer code, where Vaadin framework is used for GUI.