xforms

need same font size for upper and lower case

纵然是瞬间 提交于 2021-01-28 12:23:47
问题 Html text box should have same font size for both upper and lower case chars. For example, i have a textbox length of 5 using below css class="field-width-5" .field-width-5 { width:5px } <td class="field-width-5"> <xforms:input bind="alternate-address-1-postal-code" xxforms:maxlength="5" id="alternate-address-1-postal-code-id"/> </td> When i enter upper case words such as QWDO, it occupies more space and it exceeds the width of 5px. Is there any font can be applied to over come this issue.

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

Using Recaptcha with EPiServer XForms

百般思念 提交于 2020-01-24 17:40:27
问题 Does any one have experiense of using Recaptcha with XForms in EPiServer? I don't know where to put the Recaptcha control and how to make it work. The sample code for ASP.NET is the code below. Where should i put it. My guess is in the FormControl_BeforeSubmitPostedData ? <%@ Page Language="VB" %> <%@ Register TagPrefix="recaptcha" Namespace="Recaptcha" Assembly="Recaptcha" %> <script runat=server%gt; Sub btnSubmit_Click(ByVal sender As Object, ByVal e As EventArgs) If Page.IsValid Then

Serialising XForm instances as SOAPAttach attachments

烈酒焚心 提交于 2020-01-24 11:38:24
问题 I wish to submit an XForms instance to a web service as a SOAPAttach attachment. However, from the XForms 1.1 specification: 11.11.3 SOAP HTTP Binding The method attribute of the submission must be set to get or post in order to access the SOAP HTTP binding. I understand this to mean that the multipart-post method (required for SOAPAttach) cannot be used with the SOAP HTTP binding? 11.9.6 Serialization as multipart/related Subsequent part requirements One part for each node with a datatype of

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

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="."

XSD to XForms and XForms to XSD conversion

梦想与她 提交于 2020-01-01 05:38:09
问题 Currently I am struggling with two problems: I am receiving from outer server an XSD file and based on this file I have to generate XForm. Usually the XSD file is importing many other XSD files and so on. I am writing a GUI with XForm builder. When the user builds his custom XForm I need to generate from it an XSD file and send it back to the outer server. Major question is: Is it possible to write those two converters which generate files and complies with the standard (XML Schema and XForms

xForms:Input doesn't show in browser

╄→гoц情女王★ 提交于 2019-12-25 09:19:52
问题 I'm trying to use xForms:input, but them don't show in Browser. Here is my xhtml code: <?xml-model href="http://www.oxygenxml.com/1999/xhtml/xhtml-xforms.nvdl" schematypens="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <meta:meta xmlns:meta="http://www.xsmiles.org/2002/metadata" name="XForms Controls" description="Tests all XForms controls in single