cancel
Showing results for 
Search instead for 
Did you mean: 

PropertyNotFoundException in form

kaech
Champ in-the-making
Champ in-the-making
I am trying to map JavaBean properties to form properties as described in the user guide.

<userTask id="order" name="order" activiti:formKey="order.form">
<documentation>order</documentation>      
<extensionElements>
<activiti:formProperty id="quantity" variable="quantity" expression="#{order.quantity}" required="true" type="long" />
</extensionElements>

</userTask>

In the form I always get a javax.el.PropertyNotFoundExeption for the property quantity.
In ACT_RU_VARIABLE I only see the serialized JavaBean.
${order.quantity} is available in the form but ${quantity} is not.

Do you have any advice?
31 REPLIES 31

frederikherema1
Star Contributor
Star Contributor
You are right, the REST-api only exposes a way to get the form-properties, not to submit them back (was added in 5.4 release).

There is an issue for this, http://jira.codehaus.org/browse/ACT-269, no concrete plans when this will be complete.

kaech
Champ in-the-making
Champ in-the-making
I see. I hope that this will be added soon, cause without it the API is hardly useful.

What about simply  exposing the full engine api, for example the formservice, in a platform agnostic way?
Maybe as SOAP or REST service?

What do you think about this option?