Page 1 of 1

optionsData parameter missing from workflow-forms-2.1.dtd!

PostPosted:Fri Sep 21, 2012 3:27 pm
by noxious
I noticed that optionsData parameter of select element is missing from workflow-forms-2.1.dtd!So, you should add:
Code: Select all
<!ELEMENT select (option+, validator*)>
<!ATTLIST select
	label CDATA #REQUIRED
	name CDATA #REQUIRED
	type (simple | multiple) "simple"
	data CDATA #IMPLIED
	optionsData CDATA #IMPLIED <!-- Add This Line -->
	width CDATA #IMPLIED
	height CDATA #IMPLIED
	readonly (true | false) "false"
>
optionsData is needed when you want to create options dynamically inside a select element of your workflow form :wink:

Re: optionsData parameter missing from workflow-forms-2.1.dt

PostPosted:Wed Sep 26, 2012 9:19 am
by pavila
You should use workflow-forms-2.2.dtd which includes this tag.

Re: optionsData parameter missing from workflow-forms-2.1.dt

PostPosted:Wed Sep 26, 2012 9:02 pm
by noxious
In openkm wiki you suggest workflow-form-2.1.dtd for OpenKM 5.1 versions: http://wiki.openkm.com/index.php/Workfl ... definition
I didn't even know that there is a 2.2.dtd. :!:

Re: optionsData parameter missing from workflow-forms-2.1.dt

PostPosted:Sat Oct 13, 2012 10:18 am
by pavila
Sorry, I have fixed the wiki page.