xforms

Where can we get the form data in xml/metadata format on click of Send button event?

不羁岁月 提交于 2019-12-02 19:34:44
问题 I am a new scala learner. As a part of requirement I need to insert the form data in activemq queue for submit event. I tried to debug the send method code to know where exactly do we get the document/form data in xml format on click of send button in "FormRunnerActions.scala" class. Due to my insufficient code analysis I am not able to find where exactly do I get the form data in xml format. Can anyone please help me the file name/ method name where we can get and save the form data in a

How can I set the relevant property of an Orbeon element to depends on if a previous element is visited or not?

两盒软妹~` 提交于 2019-12-02 18:39:55
问题 I am trying to create in a form some elements that are visible if one specific element has been visited or not. Is it possible? At this moment, I only can achieve this copying the relevant part of the first element to the others one, but, in the case on one element depends on many others elements, the relevant rule is too large. Then I am looking for some way to simply this: is there any kind of function like "isVisible()"? Something like (i.e. control-2 must be visible only if control-1 is

Running Orbeon-Form-Builder-Generated-Form with Java Application

回眸只為那壹抹淺笑 提交于 2019-12-02 13:38:20
Should I be able to run Orbeon-Form-Builder-Generated-Form with Java Application, i.e. Copy the source of the Form into a simple.JSP (using separate deployment as mentioned in http://wiki.orbeon.com/forms/doc/developer-guide/xforms-with-java-applications ) ? I found that the evaluation of $form-resources fails. Why ? simple.jsp XML <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xi="http://www.w3

Orbeon index of repeat in repeatable section

依然范特西╮ 提交于 2019-12-02 03:25:18
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. 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 and write: <xf:output value="xxf:repeat-position()"/> 来源: https://stackoverflow.com/questions/27607637

Orbeon Custom metadata at form level

十年热恋 提交于 2019-11-29 18:12:49
I want to configure success message ( successMessageTextBox ) and downloadLink ( linkTextbox ) at form level(meta-data) through formBuilder , so that admin can change and publish it anytime. Also these values can be accessible to properties-local.xml file to configure the success-message . e.g: navigate(uri="{xxf:instance('fr-parameters-instance')//linkTextbox}") success-message(message = "{xxf:instance('fr-parameters-instance')//successMessageTextBox}") Any suggestion would be appreciated!! UPDATE :- 1>MetaData if (exists(xxf:instance('fr-form-metadata')/linkTextbox)‌​) then navigate(uri="

Can you style XHTML elements in another namespace using id and class name css selectors?

爷,独闯天下 提交于 2019-11-29 07:28:49
I'm developing an application that uses ubiquity-xforms. Previously I had been serving the pages up as text/html with the XHTML 1.0 doctype. If I switched the mime-type to application/xhtml+xml, I would see a pretty big performance improvement, because the javascript could use the get____NS() functions, instead of what it's doing now (slowly iterating through the entire DOM tree every time it needs to select an element). But when I tried this, a bunch of my CSS stopped working. I noticed that when I inspected the elements, either in Firebug or in the WebKit Nightly Web Inspector, the point of

Orbeon Custom metadata at form level

本秂侑毒 提交于 2019-11-28 12:34:52
问题 I want to configure success message ( successMessageTextBox ) and downloadLink ( linkTextbox ) at form level(meta-data) through formBuilder , so that admin can change and publish it anytime. Also these values can be accessible to properties-local.xml file to configure the success-message . e.g: navigate(uri="{xxf:instance('fr-parameters-instance')//linkTextbox}") success-message(message = "{xxf:instance('fr-parameters-instance')//successMessageTextBox}") Any suggestion would be appreciated!!