03-27-2013 04:40 PM
03-28-2013 06:39 AM
<activiti:formProperty id="vacationApproved" name="Do you approve this vacation" type="enum" required="true">
<activiti:value id="true" name="Approve" />
<activiti:value id="false" name="Reject" />
</activiti:formProperty>
03-28-2013 01:36 PM
Activiti has an "enum" type, which allows you to select from a predefined list of values:I am aware of the enum type. What I was trying to ask was for something somewhat different.
(extract from user guide)<activiti:formProperty id="vacationApproved" name="Do you approve this vacation" type="enum" required="true">
<activiti:value id="true" name="Approve" />
<activiti:value id="false" name="Reject" />
</activiti:formProperty>
<activiti:formProperty id="vacationApproved" type="enum" required="true" activiti:values="${someBean.someMethod()}"/>
2. Is there a way to create a list or multi-select type? I want to specify a variable/form property that represents a collection.<activiti:formProperty id="vacationApproved" type="list" required="true" />
3. If there is a list type, is there a way to specify the value of types stored in that list?<activiti:formProperty id="vacationApproved" type="list" required="true">
<activiti:containedValues type="enum"> …. </activiti:containedValues>
</activiti:formProperty>
03-29-2013 03:09 AM
04-02-2013 02:32 PM
04-24-2013 08:51 AM
04-29-2013 08:38 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.