cancel
Showing results for 
Search instead for 
Did you mean: 

Create forms in eclipse

user
Champ in-the-making
Champ in-the-making
Hi,

i would like to know how i create forms in eclipse.

I need a for example test.form with the design (tags tr, td…) and the type of the values.
Then I need the process xml with the bpmn events, task a.s.o. and the form-link.

code in the process to involve the test.form
activiti:form="process/src/process1/test.form">

Then I would like to deploy a process with the test.form in a java class with a main method, runtimeservices and more.

But I have some exeptions:
The prefix "activiti" for attribute "activiti:form" associated with an element type "userTask" is not bound.

It is also possible to create forms on a user task, it is?
Or is there everything missing?

Thanks for answers!

Bye
1 REPLY 1

solar
Champ in-the-making
Champ in-the-making
Hi,
this appears to me as an XML-issue.
Please make sure, that the XML-namespaces are set properly in your process definition.

like this:

<definitions id="definitions"
  xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:activiti="http://activiti.org/bpmn-extensions"
  typeLanguage="http://www.w3.org/2001/XMLSchema"
  expressionLanguage="http://www.w3.org/1999/XPath"
  targetNamespace="http://www.activiti.org/bpmn2.0">


See also http://en.wikipedia.org/wiki/XML_Namespace
Cheers