单击发送按钮事件时,我们在哪里可以获得 xml/metadata 格式的表单数据?
Where can we get the form data in xml/metadata format on click of Send button event?
我是一个新的scala学习者。作为要求的一部分,我需要在 activemq 队列中插入表单数据以提交事件。我尝试调试发送方法代码,以了解在单击 "FormRunnerActions.scala" class 中的发送按钮时,我们究竟从哪里获得 xml 格式的 document/form 数据。由于我的代码分析不充分,我无法找到 xml 格式的表单数据的确切位置。
任何人都可以帮我提供文件名/方法名,我们可以在其中以字符串格式获取和保存表单数据以用于发送按钮单击事件。一旦我获得字符串形式的表单数据(XML 格式),我就会将该字符串插入队列中。
例如,如果我单击联系人表单中的发送按钮,则以下表单数据(xml 格式)应该进入一个字符串变量,
<?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>
提前致谢。
我们在 this forum 中回答了同样的问题。
我是一个新的scala学习者。作为要求的一部分,我需要在 activemq 队列中插入表单数据以提交事件。我尝试调试发送方法代码,以了解在单击 "FormRunnerActions.scala" class 中的发送按钮时,我们究竟从哪里获得 xml 格式的 document/form 数据。由于我的代码分析不充分,我无法找到 xml 格式的表单数据的确切位置。
任何人都可以帮我提供文件名/方法名,我们可以在其中以字符串格式获取和保存表单数据以用于发送按钮单击事件。一旦我获得字符串形式的表单数据(XML 格式),我就会将该字符串插入队列中。
例如,如果我单击联系人表单中的发送按钮,则以下表单数据(xml 格式)应该进入一个字符串变量,
<?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>
提前致谢。
我们在 this forum 中回答了同样的问题。