licicin (41) [Avatar] Offline
#1
In the book you have textarea example,
do you have examples with multi select or checkbox?

It is possibe to provide options with
<activiti:formProperty id="direction" type="enum">
<activiti:value id="left" name="Go Left" />
<activiti:value id="right" name="Go Right" />

i need a way to dynamical, from a database, provide select options or values for radio button.

This construct will solve the problem:
<activiti:formProperty >
expression="#{book.checked}"
valuesToSelectFrom="#{values}"
tijs.rademakers (494) [Avatar] Offline
#2
Re: multi select, checkbox examples.
Hi,

A good example is the user select form property that's implemented in the Activiti Explorer. But the basic idea there is to not clutter your process with the retrieval of select options, but do that in the web application. The user select form field implementation provides a good example I think.

Best regards,

Tijs