cancel
Showing results for 
Search instead for 
Did you mean: 

how to set form properties for jsf pages..

sherlock
Champ in-the-making
Champ in-the-making
Hi,


I am new to activiti work flow. I am doing a project with activiti-cdi and jsf.
I have a question that how to use the form properties in eclipse activiti designer to render jsf form elements.
If not possible what is the best way to do it.


Thanks
Sherlock
2 REPLIES 2

frederikherema1
Star Contributor
Star Contributor
There is no "out of the box" way of rendering form-properties in JSF. We only have this kind of support for Vaadin. However, if you know a thing or 2 about JSF, it shouldn(t be easy to include/render JSF-tags based on the "type" and configuration of the various supported FormProperty types.

If you call formService.getTaskForm(…), you'll get a list of form-properties containing everything you need to render JSF-elements…

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
I would not use formproperties. Honestly, if developing real applications with even modestly complex forms it is a limitation… Just develop your forms separately and have backingbeans storing the data in your process if needed.