Form Inputs with Complex Types
Version: Bonita 7.0 Java: 1.7 Operating System: Windows 7
Hello,
I have built a contract with a complex type ( see below) . I have a form associated to this contract, but I'm having issues when submitting OnClick event. I think its because of the nested structure. The displays on the form correctly so it looks like I'm grabbing the element and I'm binding it correctly.
I'm just not able to Submit the object. I also see the below message in the firefox debugger.
please help
newEditPerson lastName firstName personInfo address city state
no element found 180078:1:1
"Error: r.assign is not a function
o/<.set@http://localhost:8080/bonita/portal/resource/taskInstance/Account%20Requ...(Allow%20certain%20fields%20to%20be%20edited)/content/js/generator.min.js:1:2910
doRequest/<@http://localhost:8080/bonita/portal/resource/taskInstance/Account%20Requ...(Allow%20certain%20fields%20to%20be%20edited)/content/widgets/pbButton/pbButton.js:92:9
k/g.error/<@http://localhost:8080/bonita/portal/resource/taskInstance/Account%20Requ...(Allow%20certain%20fields%20to%20be%20edited)/content/js/vendor.min.js:81:286
f/<@http://localhost:8080/bonita/portal/resource/taskInstance/Account%20Requ...(Allow%20certain%20fields%20to%20be%20edited)/content/js/vendor.min.js:112:343
Pe/this.$get</l.prototype.$eval@http://localhost:8080/bonita/portal/resource/taskInstance/Account%20Requ...(Allow%20certain%20fields%20to%20be%20edited)/content/js/vendor.min.js:126:189
Pe/this.$get</l.prototype.$digest@http://localhost:8080/bonita/portal/resource/taskInstance/Account%20Requ...(Allow%20certain%20fields%20to%20be%20edited)/content/js/vendor.min.js:123:278
Pe/this.$get</l.prototype.$apply@http://localhost:8080/bonita/portal/resource/taskInstance/Account%20Requ...(Allow%20certain%20fields%20to%20be%20edited)/content/js/vendor.min.js:126:469
l@http://localhost:8080/bonita/portal/resource/taskInstance/Account%20Requ...(Allow%20certain%20fields%20to%20be%20edited)/content/js/vendor.min.js:81:487
O@http://localhost:8080/bonita/portal/resource/taskInstance/Account%20Requ...(Allow%20certain%20fields%20to%20be%20edited)/content/js/vendor.min.js:86:99
wf/</w.onload@http://localhost:8080/bonita/portal/resource/taskInstance/Account%20Requ...(Allow%20certain%20fields%20to%20be%20edited)/content/js/vendor.min.js:87:124
" vendor.min.js:103:67
e/<() vendor.min.js:103
He/this.$get</<() vendor.min.js:77
f/<() vendor.min.js:112
Pe/this.$get</l.prototype.$eval() vendor.min.js:126
Pe/this.$get</l.prototype.$digest() vendor.min.js:123
Pe/this.$get</l.prototype.$apply() vendor.min.js:126
l() vendor.min.js:81
O() vendor.min.js:86
wf/</w.onload() vendor.min.js:87
Also getting below message when displaying formError
This can be closed. I did not realize that the contract elements can not be optional. I was passing in elements that needed to be there.
Thanks
Comments
Hi,
Is it possible to share your process so I can try to test it and figure out what goes wrong?
As REST response report a java.lang.NullPointerException I would recommend to check the Bonita Engine log file that might include more details.
Thanks