Re: Re: Orbeon Forms Submission Element Queries

Posted by Erik Bruchez on
URL: https://discuss.orbeon.com/Deploying-Orbeon-Forms-in-Liferay-tp2994930p2996283.html

Also, at this point xforms:submission cannot write to a file on disk
with POST/PUT (but you can read with GET).

-Erik

On Thu, Oct 14, 2010 at 4:27 AM, Florian Schmitt
<[hidden email]> wrote:

> 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
>
>


--
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