orbeon

Orbeon 3.9 Liferay proxy portlet java.lang.NullPointerException Error with any user interaction

那年仲夏 提交于 2019-12-12 00:19:20
问题 I'm trying to integrate Orbeon Forms 3.91 PE with Liferay 6.0.6. I have installed Liferay, deployed orbeon.war, orbeon-proxy-portlet.war, copied the license file and created a file-local.xml properties (as described in the wiki). Using the Form Builder I've created a form (the default content (one input field)). Next I've added two pages in Liferay containing the portlets forms: - one runner with my form - second form refers to a form "contact" (the default one). After integration with my

Orbeon Vertical scroll bar in Safari and IE close autocomplete menu

牧云@^-^@ 提交于 2019-12-11 21:14:01
问题 I'm using Orbeon v2017.1 and I've added an autocomplete field. The dropdown is correctly displayed and can be scrolled with the mouse wheel, up/down arrows and by clicking on the scroll bar in all browsers except Safari and IE . In these two browsers the dropdown menu closes when clicking on the scroll bar, but it works correctly in the two other cases. Is there a possible way to solve this? Please don't mind the styling, I've posted a .gif of the behaviour. I see that this is a known issue

Event xforms-model-construct-done behaviour

↘锁芯ラ 提交于 2019-12-11 16:14:50
问题 In my form I would like to call web service after to form is loaded after publishing. I've created custom XBL control for it, where I have : <xf:group id="component-group"> <xf:action ev:event="xforms-enabled" ev:target="component-group"> <xf:send ev:event="xforms-enabled" submission="my-submission"/> </xf:action> </xf:group> But it doesn't work as expected : my submission is sent everytime when I add new element in FormBuilder or change a name of some other controls. Generally speaking

XForms: set default selection in dropdown in binding

烂漫一生 提交于 2019-12-11 13:46:16
问题 I have a main instance named 'myinstance' which has the element color. Color can be 'Red', 'Blue', 'Green' or ''Yellow'. The colors are populated in a drop-down from another instance called 'colorsinstance'. When my form loads, I want the default in the dropdown to be set to 'Green' in the nodeset binding. <instance id="colorsinstance"> <items> <item label="Color1" value="Red"/> <item label="Color2" value="Blue"/> <item label="Color3" value="Green"/> <item label="Color4" value="Yellow"/> <

Orbeon forms generates duplicate tags

佐手、 提交于 2019-12-11 13:44:54
问题 I'm trying to create a form in orbeon forms (4.10 PE) with a repeated grid. I would like to fill this form using a request parameter. However, it seems that when I use xf:insert to replace the main data instance, the xml is somehow transformed. I have the following minimal form published as test/test at http://localhost:8080/orbeon/fr/test/test : <xh:html xmlns:xh="http://www.w3.org/1999/xhtml" xmlns:xf="http://www.w3.org/2002/xforms" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi=

Orbeon JavaScript API - Access to control value from within fr:section?

非 Y 不嫁゛ 提交于 2019-12-11 09:59:16
问题 There seems to be a problem related to xf:triggers embedded in a fr:section , see the following two sample forms. Any known workarounds for this? trigger not embedded in fr:section - works fine <xh:html xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:exf="http://www.exforms.org/exf/1-0" xmlns:fb="http://orbeon.org/oxf/xml/form-builder" xmlns:fr="http://orbeon.org/oxf/xml/form-runner" xmlns:saxon="http://saxon.sf.net/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sql="http:/

Orbeon Xforms nested repeats

泄露秘密 提交于 2019-12-11 08:28:39
问题 I am trying to create a form with nested repeats that runs in Orbeon server. The idea is to have some elements that can be repeated and other elements inside the first one, that also can be repeated. i.e a block for inserting personal information (for several persons in a repeat) and for each person, we can add several phone numbers (also a repeat). I have not found so much information about how to do it, and I suppose that I can create this: Other StackOverflow question (but this example

Orbeon form localization using current site's session language

六眼飞鱼酱① 提交于 2019-12-11 07:49:35
问题 I'm using ORBEON 2018.2.3.201905172253 PE within SAP Commerce (Hybris). From Orbeon documentation and the tests I've run, I understand forms localization works through a language dropdown selector within each form. The thing is, I already have a language selector for my entire website, as usual. So, let's say a user gets into my site, which default language is English. Afterwards, he changes the site's language to Chinese. He is browsing my site in Chinese and navigates to a form which

Write constraint to validate a field based on the value entered in another field in Orbeon Form Builder

匆匆过客 提交于 2019-12-11 05:04:10
问题 I want to validate the size of the phone number field based on the selection made in the Phone Type field. Cell numbers should be 10 in size, Home and work numbers should be 11 in size. How would I write the constraint expression in Orbeon Form Builder. I tried using if in the constraint field, but was unsuccessful. Thank you for your help! 回答1: Let's say you have two controls: a phone type and a phone number. Create the phone type control, for instance as a drop-down or radio buttons. Give

Growing eXist database

╄→гoц情女王★ 提交于 2019-12-08 11:01:44
问题 I'm using Orbeon Forms, and eXist to store filled forms there. And I have next problem, eXist is growing more than 500 MB per day. If I will made reserve copy of whole database, then will delete all DB files, and restore reserved copy, then DB is only 1 GB large, but after few days it becomes 4 GB, and grows, grows and grows... First I was using embeded eXist 1.2.6, and I thought that it's unstable version, so I moved all data to external eXist 1.4.1, but still it continue to grow in new