单击发送按钮事件时,我们在哪里可以获取 xml/metadata 格式的表单数据? [英] Where can we get the form data in xml/metadata format on click of Send button event?

查看:56
本文介绍了单击发送按钮事件时,我们在哪里可以获取 xml/metadata 格式的表单数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是一个新的 Scala 学习者.作为要求的一部分,我需要在 activemq 队列中插入表单数据以进行提交事件.我试图调试发送方法代码,以了解单击FormRunnerActions.scala"类中的发送按钮时,我们究竟从何处获取 xml 格式的文档/表单数据.由于我的代码分析不够充分,我无法找到究竟在哪里获取 xml 格式的表单数据.

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.

任何人都可以帮我提供文件名/方法名,我们可以在其中以字符串格式获取和保存表单数据以发送按钮单击事件.一旦我以字符串形式获取表单数据(XML 格式),我就会将该字符串插入队列中.

Can anyone please help me the file name/ method name where we can get and save the form data in a string format for send button click event. Once I get the form data (XML format) in string then I will insert the string in queue.

例如,如果我单击联系人表单中的发送按钮,则以下表单数据(xml 格式)应包含在字符串变量中,

For Example, If I click send button in contacts form, following form data (xml format) should get in a string variable,

<?xml version="1.0" encoding="UTF-8"?><form xmlns:xxi="http://orb
eon.org/oxf/xml/xinclude" xmlns:xh="http://www.w3.org/1999/xhtml" xmlns:xi="http://www.w3.org/2001/X
Include" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:saxon="http://saxon.sf.net/" xmlns:xs="h
ttp://www.w3.org/2001/XMLSchema" xmlns:xxf="http://orbeon.org/oxf/xml/xforms" xmlns:xbl="http://www.
w3.org/ns/xbl" xmlns:sql="http://orbeon.org/oxf/xml/sql" xmlns:pipeline="java:org.orbeon.oxf.process
or.pipeline.PipelineFunctionLibrary" xmlns:fr="http://orbeon.org/oxf/xml/form-runner" xmlns:soap="ht
tp://schemas.xmlsoap.org/soap/envelope/" xmlns:xf="http://www.w3.org/2002/xforms" xmlns:exf="http://
www.exforms.org/exf/1-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <contact>
        <first-name>Erik</first-name>
        <last-name>Bruchez</last-name>
        <email>info@orbeon.com</email>
        <phone>6505555555</phone>
    </contact>
    <message>
        <order-number>O888</order-number>
        <topic>returns</topic>
        <comments>Please answer me!</comments>
    </message>
</form>

提前致谢.

推荐答案

我们在 这个论坛.

这篇关于单击发送按钮事件时,我们在哪里可以获取 xml/metadata 格式的表单数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆