Posted by
fl.schmitt(ops-users) on
URL: https://discuss.orbeon.com/Deploying-Orbeon-Forms-in-Liferay-tp2994930p2995166.html
Somya,
> 1. Submission Element: What is the configuration of submission
> element in order to submit the reference instance data to an xml file?
The destination URI is declared in the "resource" attribute of the
submission element. The details depend on how to access the xml file. If
you're using a xml database with REST access (eXist-db, for example),
you could simply use resource="http://..." method="put". If you need
http authentication, you should add the custom attributes
xxforms:username and xxforms:password.
There's also a wiki page concerning submissions:
http://wiki.orbeon.com/forms/doc/developer-guide/xforms-advanced-submissions> 2. I have made an XForm as a part of a jsp page. Now upon the
> submit I want to redirect the control to a different jsp page. Is it
> possible? I could only get the examples where we can replace the
> instance in the current jsp page with the new instance built in the
> action/resource jsp page.
You could issue a xforms:load on the xforms-submit-done event:
<xforms:action ev:event="xforms-submit-done">
<xforms:load resource="targetURI" />
</xforms:action>
HTH
florian
--
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