Page 1 of 1

Form is not displayed

PostPosted:Tue Dec 22, 2015 10:04 am
by rizkywib
Dear people,

i create a forms.xml,, below is the code:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE workflow-forms PUBLIC "-//OpenKM//DTD Workflow Forms 2.4//EN"
								"http://www.openkm.com/dtd/workflow-forms-2.4.dtd/workflow-forms-2.4.dtd" />
<workflow-forms>
	<workflow-form task="get-data" >
		<input label="Number to guess" name="number" />
		<button label="Submit" name="submit" />
	</workflow-form>
</workflow-forms>
then after i deploy to the OpenKM, why the forms is not displayed?

Re: Form is not displayed

PostPosted:Tue Dec 22, 2015 11:40 am
by rizkywib
for Information i'm using OpenKM version 6.3.1 and browser Chrome/Firefox Windows 7 base.
and Develop using Red Hat Jboss Developer Studio 9.0.0.GA + jBPM 3

Re: Form is not displayed

PostPosted:Wed Dec 23, 2015 6:05 pm
by jllort
I encourage you use our OpenKM portable edition what comes also with JBPM plugins
http://sourceforge.net/projects/openkmportabledev/

Did you followed the workflow course at http://docs.openkm.com/kcenter/view/wfg/ ?

The submit field haqs not much sense, did you see some error in catalina.log ?
Code: Select all
<button label="Submit" name="submit" />
Do you have a task named "get-data" in the workflow ? I suggest rename as "getData" to prevent problems with character "-". Anyway I suspect the problem is on task and form names.

Re: Form is not displayed

PostPosted:Mon Dec 28, 2015 10:33 am
by rizkywib
Now i try to follow workflow course for 'User input Request' in 'http://docs.openkm.com/kcenter/view/wfg'.
But i still have my form Blank..What should i do?



i attached my workflow below.
UserInputRequest
(13.23 KiB) Downloaded 229 times

Re: Form is not displayed

PostPosted:Tue Dec 29, 2015 2:27 am
by rizkywib
I was fix the problem..the issue is my forms.xml not attached in deployment for additional files. after i attached in additional file the forms is shown. thanks for the support. :D

Re: Form is not displayed

PostPosted:Wed Dec 30, 2015 8:21 am
by jllort
For other issues, usually in catalina.log should see if there's some error etc... If for example you miss include some class sure will be shown there. However we are happy you have solved the problem.

Re: Form is not displayed

PostPosted:Fri May 26, 2017 8:58 am
by Petr_Valenta
Hello

I face the same problem.

What does it mean "my forms.xml not attached in deployment for additional file", please? WHat should I do?

Thanks a lot for any answer in advance.

Petr Valenta

Re: Form is not displayed

PostPosted:Fri May 26, 2017 9:04 am
by Petr_Valenta
Hello again

I have found just after the reply.

It is on the deplyment tab.

Problem solved.

I am sorry for bothering.