Posted by
robin111 on
URL: https://discuss.orbeon.com/Summary-page-empty-tp45212p45214.html
Hi,
Saving document is too high level to me now.
At the begining I try to browse xml file from eXist database.
There are some code I'm using:
<xforms:instance id="RCAR-instance"
src="
http://localhost:8080/exist/rest/db/simple1/RCAR.xml">
</xforms:instance>
<xforms:bind id="control-4-bind" nodeset="instance('query-results')/RCAR/RCAID"
name="control-4"/>
<xforms:instance id="list-documents-query">
<exist:query>
<exist:text>
xquery version "1.0"
for $id in /exist/rest/db/simple1/RCAR.xml
return
<RCARS>
<RCAR>
<RCAID>1</RCAID>
<PRONTOID>1</PRONTOID>
<RCID>1</RCID>
<SWDEV>roman</SWDEV>
<DATAFROM>2009-10-01</DATAFROM>
<DATATO>2009-10-20</DATATO>
</RCAR>
</RCARS>
</exist:text>
</exist:query>
</xforms:instance>
<xforms:submission id="list-documents-submission"
ref="instance('list-documents-query')"
method="post"
resource="
http://localhost:8080/orbeon/fr/simple1/Rcar_form"
replace="instance"
xforms:instance="query-results"/>
<xforms:action ev:event="xforms-model-construct-done">
<xforms:send submission="list-documents-submission"/>
</xforms:action>
<xforms:instance id="query-results">
<RCAR/>
</xforms:instance>
The solution in
http://wiki.orbeon.com/forms/doc/developer-guide/form-runner-programmer-guidedoesn't work
In examples provided by Orbeon there are no one which describes how to create
application using forms in Orbeon database (without page-flow.xml)
but this solution is encouraged
Best regards,
Robert
--
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