orbeon

Orbeon 4.2 Form Builder makes /crud/orbeon/builder/form/form.xhtml request to the custom persistence layer

懵懂的女人 提交于 2020-01-05 05:47:07
问题 I'm switching from orbeon 3.9 to 4.2 I achieved the state when forms from the database are rendered by the form runner, but can't make form builder work. When I try to edit form in a builder. Form Runner makes /crud/orbeon/builder/form/form.xhtml GET request to custom persistence instead of using form builder form.xhtml . Am I missing something? 回答1: There is a default property which is set as follows: <property as="xs:string" name="oxf.fr.persistence.provider.orbeon.builder.form" value=

Orbeon 4.5 - How to pass request parameters?

有些话、适合烂在心里 提交于 2020-01-04 10:36:50
问题 We are upgrading from Orbeon 3.9 to 4.5. In Orbeon 3.9, we were passing request parameters to the send success URI ( oxf.fr.detail.send.success.uri ) when the user clicks on a custom submit button. We have done this by modifying persistence-model.xml . Following is the code part which we used in 3.9: <xforms:model id="fr-persistence-model" <xforms:instance id="x3params"> <data xmlns=""> <customerid/> </data> </xforms:instance> <xforms:action ev:event="xforms-model-construct-done" if="$app !=

Orbeon 4.5 - How to pass request parameters?

爱⌒轻易说出口 提交于 2020-01-04 10:34:21
问题 We are upgrading from Orbeon 3.9 to 4.5. In Orbeon 3.9, we were passing request parameters to the send success URI ( oxf.fr.detail.send.success.uri ) when the user clicks on a custom submit button. We have done this by modifying persistence-model.xml . Following is the code part which we used in 3.9: <xforms:model id="fr-persistence-model" <xforms:instance id="x3params"> <data xmlns=""> <customerid/> </data> </xforms:instance> <xforms:action ev:event="xforms-model-construct-done" if="$app !=

Extract value from form and send to database service how a parameter (filter)

别等时光非礼了梦想. 提交于 2019-12-25 09:47:59
问题 In my configuration, I try the next comand (BD mysql): SELECT user, name, lastname FROM Cordloc where user=<sql:param type="xs:string" select="/form/section-1/usuario"/> This database service is conect to drowpdown, but when I incluye the sentence "where user=<sql:param type="xs:string" select="/form/section-1/usuario"/>" , this it's not working. I try the show en drowdown name user, but filter with user login orbeon (in the table is same value "orbeon"). Please, can your help me with that.

Liferay: how to get the current login user details in servlet?

拈花ヽ惹草 提交于 2019-12-25 08:51:03
问题 I'm completely new to Liferay. I have configured Orbeon Forms in Liferay by using the Proxy Portlet , finally I created an Orbeon form and sent the form data to a demo portlet (custom portlet). In the portlet I have created a servlet. If user save the orbeon form data then my servlet getting called and I'm able to get the form data. Now I need to get the current user name or userid in the servlet. In form builder I have send the orbeon form data to my servlet. properties-local.xml <property

Fill repeated grid by http service/Action in orbeon 4.5

 ̄綄美尐妖づ 提交于 2019-12-25 07:04:59
问题 I'm trying to fill a repeated grid in orbeon with a XML file and http service/action. The xml looks like this: <result> <code>Row 1</code> <code>Row 2</code> <code>Row 3</code> </result> But only the first row is filled and no row is dynamically added to repeated grid. What step is missng? Thx! Best regards, Alex 来源: https://stackoverflow.com/questions/25972198/fill-repeated-grid-by-http-service-action-in-orbeon-4-5

In Orbeon Forms, is form version information available in the REST API?

[亡魂溺海] 提交于 2019-12-25 06:47:23
问题 The documentation says: In addition, the Oracle, MySQL, and DB2 implementations support versioning to some level, in that it keeps older versions. However this is not visible at the level of the REST API. If all you need is keep older versions in the database, what the Oracle, MySQL, and DB2 implementation does might be sufficient. The best will be for Form Runner and Form Builder to handle versioning natively. http://wiki.orbeon.com/forms/doc/developer-guide/form-runner/persistence-api#TOC

Login and XML Orbeon

扶醉桌前 提交于 2019-12-25 05:04:44
问题 I have two new questions: 1) I configure the orbeon Form to restrict the access to users (with tomcat). This works good. But the Page for login is in english (I need view this page in Spanish) and the style from this page is bad. So, it's possible configure this page? I thinked update the orbeon-form-runner.jar, descompress and edit the login.xhtml and compress to new orbeon-form-runner.jar but i recibe a error when i start the orbeon: this is the error: At least one JAR was scanned for TLDs

Convert copy-of output to string and escape XML special characters (like less than (<) and greater than (>) symbols)

∥☆過路亽.° 提交于 2019-12-25 02:26:40
问题 I am trying this in an XQuery (assume that doc('input:instance') does indeed return a valid XML document) which is generated using XSLT let $a:= <xsl:text>"<xsl:copy-of select="doc('input:instance')//A" />"</xsl:text> let $p := <xsl:text>"<xsl:copy-of select="doc('input:instance')//P" />"</xsl:text> let $r := <xsl:text>"<xsl:copy-of select="doc('input:instance')//R" />"</xsl:text> But I get the error: xsl:text must not contain child elements How do I retrieve XML results using the XPath in

Orbeon : Liferay Form Runner Proxy Portlet Preferences not saved

懵懂的女人 提交于 2019-12-25 02:14:04
问题 I'm trying to implement the Form Runner Proxy Portlet into my Liferay portal but I have a problem. In Orbeon, I have an application named "CUS07" and two forms named "CUS07" and "Test" (and Orbeon default app and forms). I set the init parameters in "portlet.xml" to display "CUS07/CUS07" form by default. It's working well. But when I go to the "Preferences" page in the portlet configuration and I set "Form Runner app name" to "CUS07" and "Form Runner form name" to "CUS07" and click on "Save"