cancel
Showing results for 
Search instead for 
Did you mean: 

Extending Form Property?

njames
Champ in-the-making
Champ in-the-making
Hi everyone,
Apologies if this question is answered someplace else, but I couldn't formulate a search that gave good enough results…

We would like our Form Properties to have some extra properties, for example "form validation" using "masks" (think regular expressions) and "hint text".

We would also like to add a Form Property Group, with a view to grouping properties into "panels". I think that this could be made using a custom Form Type with a value of List<FormProperty>? I'm thinking of the "Composite" pattern in the GoF book.

Would it be appropriate to extend the classes provided by Activiti, with a view to donating back, or should we develop our own, completely external Form Property management system and just use the Form Key in the Process Definition?

Just have to point out that we are not using the activiti-explorer to render forms. Also, I'm assuming that some sort of enhanced forms are not in the Activiti road map.
2 REPLIES 2

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
All options you describe are possible. Although I do not now if these extensions would be incorporated in the core engine.

I personally use the formkey and fully externally designed forms without using form field properties.

trademak
Star Contributor
Star Contributor
Hi,

Are you using Vaadin for your form application?
If not, I think the possibility to contribute form property implementations back to the Activiti project are minimal.
In that case you're better off implementing your own solution with form keys.

Best regards,