AnsweredAssumed Answered

enum dynamic property values

Question asked by kethur on Feb 26, 2013
Latest reply on Feb 28, 2013 by jbarrez
Hi all,

I have a situation where i need to populate the activiti:value dynamically. Is there a way I can generage the <activiti:value tags dymically based on an API call?

Please note that the generating the XML dynamically will not work for me because, the list values will be changing based on the user roles/permissions.
<activiti:formProperty id="entityFindList_listbox_4" type="enum">
              <activiti:value id="left" name="Go Left" />
              <activiti:value id="right" name="Go Right" />
              <activiti:value id="up" name="Go Up" />
              <activiti:value id="down" name="Go Down" />

I am looking for something similar to this below:

<activiti:formProperty id="entityFindList_listbox_4" type="enum" enumValues ="${serviceObj.getValues()}">