orbeon

How to create link with PDF download?

纵饮孤独 提交于 2021-02-11 14:56:29
问题 I have locally installed Orbeon Forms CE 2017.2.201712300816-CE and I would like to create view which will serve pdf document generated from xforms form. All my files are in orbeon/WEB-INF/resources/apps/test/ directory. When I go to URL http://localhost:8080/orbeon/test/ I see error message: "Orbeon Forms - Page Not Found We are sorry, but the resource you have requested is not available on this server. ". What I'm doing wrong? How can I fix it? My files: page-flow.xml <controller xmlns=

Activiti workflow and Orbeon XForm Integration

*爱你&永不变心* 提交于 2020-01-25 11:43:08
问题 I have to integrate Orbeon Xforms with Activiti workflow engine. Has anybody done this in the past? How to initiate the Activiti workflow from the Orbeon forms? I have checked on internet but nobody seems to have integrated the call from Orbeon Xforms to Activiti to start the process instance. The Orbeon XForms has provided REST API but its only supported for XML message and there is no support for JSON parameters. 回答1: I'm not aware of any publically available integration between Orbeon

Dynamically evaluate XPath stored in a variable

风格不统一 提交于 2020-01-16 18:00:24
问题 I have a variable: <xf:var name="xpath" value="/my/xpath/expression"/> and I want to use /my/xpath/expression in the ref attribute of <xf:input> : <xf:input ref="/my/xpath/expression"/> Here I use a hardcoded XPath expression, but I want instead to use the XPath expression stored in the $xpath variable instead, something like this : <xf:input ref="$xpath"/> How can this be achieved? 回答1: What you probably mean is that the value of $xpath is a string, literal or not, which you then want to

In XForms, how to make all the fields readonly, except few fields?

给你一囗甜甜゛ 提交于 2020-01-15 03:51:07
问题 I did the following to make a full page read-only, using Making an Entire Instance Read-Only: <xforms:instance> <form> ... </form> </xforms:instance> <xforms:bind ref="instance('form-name')" readonly="true()"/> But I have a requirement to enable just few fields. I tried such a code that was given for Multiple binds on a given node but was for the property "required". So this fails. <xforms:bind ref="instance('form-name')/some-node" readonly="false()"/> So, is there away to override the global

Orbeon index of repeat in repeatable section

杀马特。学长 韩版系。学妹 提交于 2020-01-11 11:18:11
问题 I have repeatable section (not repeater) and inside it I have ouput field. How can I put the repeat index to this output? I want to bind outputs with index of current iteration. For example if I add 5 repeats I want to outputs show their index: 1,2,3,4,5. I know that there is functions like xxf:index, but they work only in repeater. 回答1: Not obvious because the xxf:repeat-position() function works in the UI only, and the calculated values work in the model only. You could make changes by hand

orbeon-form : eclipse project

送分小仙女□ 提交于 2020-01-07 04:40:48
问题 Just trying to use Orbeon API loaded in eclipse : After a reconfigure of the build path and defining all the jars dependencies that weren't updated, I 'm finally stuck with this scala classes that are not correctly loaded ? Any help please ? [scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/XFormsContainingDocument.java:62: error: not found: type XBLContainer [scalac] public class XFormsContainingDocument extends XBLContainer implements XFormsDocumentLifecycle,

Is it possible in orben to hide or disable the “send” button until a form is finished?

限于喜欢 提交于 2020-01-07 03:45:32
问题 The default behavior of this button is to be enabled always, and if a field is mandatory or incorrect, an error is shown. But if you use the wizard, and you have to fill up different sections, it is not normal to submit the form if you are still at the beginning of the form. Probably you must navigate to all sections to fill up all questions (at least the mandatory ones) until you reach the last section. When you are in the last section, you can submit the form. At least, force the user to

How to refer to position when using xf:setvalue function with iterate

◇◆丶佛笑我妖孽 提交于 2020-01-06 14:08:14
问题 Considering this code example and this post ... <xf:action> <xf:setvalue iterate="instance('fr-send-submission-params')/@*" ref="." value="event(name(context()))"/> </xf:action> ... How can refer to current iterated position? Like value="position()" Can i use this position as variable to xpath expressions? Like ref="/AnotherElement[position()]" 回答1: The following works: <xf:action iterate="instance('fr-send-submission-params')/@*"> <xf:var name="p" value="position()"/> <xf:setvalue ref="."

Form Builder - Multiple User Access Issue

不打扰是莪最后的温柔 提交于 2020-01-06 03:27:05
问题 I am facing an issue with form builder while it is accessed by more than one user at a time. There is no issue if only one member accesses it. I am getting the following error dialogue often. ​ The following is the tomcat console output. I am using tomcat 6.0.37. I have explored the http://wiki.orbeon.com/forms/doc/developer-guide/context-and-session-listeners page. It says that "The Orbeon Forms Servlet Context Listener allows configuring one processor to be called when the Servlet context

Can I use a property to configure a URL in Explanatory Text?

ぃ、小莉子 提交于 2020-01-05 06:27:47
问题 In Form Builder I have a form that includes an Explanatory Text field. The text includes a link. I want the URL for that link to be different in each environment. For my HTTP Services in forms I am using a property that I have defined as described in this blog post. Is it possible to use a property to configure the URL in the Explanatory Text? 回答1: Once RFE 2427 is implemented, you'll have a real solution to your problem. Right now, the text shown by fr:explanation is entirely static. You