Hey Alex
No, I didnt figure it out. I tested a form I created from scratch.
Now I recieve the XML in a servlet and write the data in a file for
debug informations.
The sample I didnt get running is attached. I wonder whats wrong?
Thank you for your help,
Karolin
>>> Alessandro Vernet <
[hidden email]> 11/12/2009 12:52 >>>
Karolin,
On Wed, Oct 28, 2009 at 5:51 AM, Karolin Krieg
<
[hidden email]> wrote:
> I am also trying to save the instance to a file.
>
> I learned a lot about submissions from:
>
http://www.w3.org/TR/xforms11/#submit-submission-element
>
>
> I wonder why I can load data with my loadDoc-submission, but cant
save
> the data through my loadDoc-submission.
>
> <xforms:model id="test-instance">
> <xforms:instance src="
http://localhost:8080/docs/test.xml"/>
> <xforms:submission id="saveDoc"
> resource="
http://localhost:8080/docs/save_test.xml" replace="none"
> method="put" />
> <xforms:submission id="loadDoc"
> resource="
http://localhost:8080/docs/load_test.xml"
replace="instance"
> method="get" />
> </xforms:model>
>
>
> Is it a conflict with the form runner, which does its own job,
ignoring
> my submission to a file?
Are you asking this question specifically in the context of a form
created with Form Builder, or is this a form you created "from
scratch"? If the later, I don't see why the above code wouldn't work.
Maybe the loadDoc is simply not running. Have you figured this one out
since you posted this message?
Alex
--
Orbeon Forms - Web forms, open-source, for the Enterprise
Orbeon's Blog:
http://www.orbeon.com/blog/
My Twitter:
http://twitter.com/avernet <theIncident xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
<theSubjectID>7D</theSubjectID>
<theSubjectNR>1234</theSubjectNR>
<theDate>2006-10-13</theDate>
</theIncident>
--
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