Hi,
I have separately deployed Java Application and I want to create submit button. My idea with the button is to create trigger and at first insert data from all models and instances to one additional instance, which will afterwards contain all the data and then send only additional instance to the service. Sample:
<!-- Additional instance -->
<xf:model id="Allinstances">
<xf:instance id="AllinstancesSubmission" xmlns="">
<instancesubmit>
<!-- I want to insert all the data from other models and instances here. -->
</instancesubmit>
</xf:instance>
<xf:submission .../>
</xf:model>
<!-- Normal data -->
<xf:model ...>
<xf:instance ...>
...
In this solution I need just one submission element in my additional instance. But how to use xf:insert with many models? My idea is to use only XForms elements, not elements from xxf namespace, like xxf:element, which may solve my problem.
I've tried:
<xf:insert ev:event="DOMActivate" nodeset="instance('AllInstancesSubmission')" origin="..." model="AllInstances"/>
I put model as a parameter, so it doesn't allow me to use many models. In nodeset and origin parameteres I can use instance function, but there is no model function in XForms.
Thanks in advance.
--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[hidden email].
To post to this group, send email to
[hidden email].