AnsweredAssumed Answered

Mapping of enum form properties

Question asked by kaech on Apr 12, 2011
Latest reply on Apr 12, 2011 by frederikheremans1

when mapping a Java enum to an enum form property I get the exception:

Invalid value for enum form property: Part1

I am using this mapping inside a UserTask:

<activiti:formProperty id="theparts" expression="#{order.part.value()}" type="enum">
            <activiti:value id="Part1" name="Part1" />
            <activiti:value id="Part2" name="Part2" />
            <activiti:value id="Part3" name="Part3" />

order is a JavaBean the part property is a Java enum which contains the members Part1, Part2 and Part3.
What am I doing wrong?