AnsweredAssumed Answered

Write values into a Collection in activiti:value

Question asked by burn83 on Dec 16, 2012
Latest reply on Oct 30, 2014 by trademak
Hello to everybody!!

I have a little problem…i've created a public java class that implements JavaDelegate in order to populate an activiti:formProperty type="enum", with some activiti:value!

with this Java istruction :

arg0.setVariable("completeexams", listexams);
arg0.setVariable("completeidexams", listidexams);

…i put in collection listexams some value that i've extract from my db.

Now when I must prepare the xml i must doing?!
       <activiti:formProperty id="esame" type="enum">
         <activiti:value id="first_id_of_exams" name="first_element_of_list" />
              <activiti:value id="second_id_of_exams" name="second_element_of_list" />

Obviusly, this activiti:values must do dinamic!! :(