Login  Register

multiple instances submission

Posted by Alexandru Ionita on Dec 07, 2009; 5:46pm
URL: https://discuss.orbeon.com/multiple-instances-submission-tp954566.html



Hello guys,

I have two questions:

1. How can I submit multiple instances to a J2EE servlet? now I do it like this:

<xf:submission id="postResponse" method="post" ref="instance('userResponse')" action="/service/dispatchRequest.do"/>

<xf:action ev:event="DOMActivate">
  <xf:setvalue ref="/user-response/userAction">accept</xf:setvalue>
  <xf:send submission="postResponse"/>
</xf:action>

but I want to merge the instance of userResponse with another instance available in my model. Something similar to aggregate("response", instance('userResponse'), instance('initialData'))   (this is not working unfortunately).

and the 2nd question: is there possible to submit this model to a pipe line processor, apply some rules on it and then post the final response to the particular J2EE servlet.


Thank you,
Alexandru


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws