In the example Xform-Bookcast there is the submit save that reference ago to:
<xforms:submission id="save-submission" ref="instance('books-instance')" action="/exist/rest/db/orbeon/xforms-bookcast/books.xml" method="put" replace="none"> the instruction "action="/exist/rest/db/orbeon/xforms-bookcast/books.xml"" what makes? I do not succeed to understand where they come saves the data to you, because the directory (/exist/rest/db/orbeon/xforms-bookcast/books.xml) he does not exist -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Hi Simone,
action="/exist/rest/db/orbeon/xforms-bookcast/books.xml" This actions saves your books.xml into the internal exist-database. The files are stored to "ops/WEB-INF/exist-data/" but you won't find your file there either, cause exist stores them to its own database-files (*.dbx) So the URL in the action discribes, to store "into exist" over the "rest"-protokol where "db" is the root-element of the database-tree. Taking a look inside your exist-db isn't that easy. But you can find more information on the homepage from exist itself. There you also find an GUI to connect to an exist-db, acting just like a browser. But if you want to use it, you first have to add some additional lines to your tomcat/web-xml and restart your server. I myself do not use the internal exist-db, but an own installation of the hole exist-suit you find on the own homepage. I do that beacuse i wanted to use the GUI and first worked with exist before ops. Both are equal, but to understand how exist works and to get in touch with xquery, there you'll find many examples how to work with exist. So i prefer the external exist-db. http://exist.sourceforge.net/ Hope that helps a bit, but i'm a newby myself working with ops and exist. Have fun, Marcus ----- Original Message ----- From: <[hidden email]> To: <[hidden email]> Sent: Monday, April 02, 2007 12:54 PM Subject: [ops-users] Xform:submission > In the example Xform-Bookcast there is the submit save that reference ago > to: > > <xforms:submission id="save-submission" ref="instance('books-instance')" > > action="/exist/rest/db/orbeon/xforms-bookcast/books.xml" > method="put" replace="none"> > > the instruction "action="/exist/rest/db/orbeon/xforms-bookcast/books.xml"" > what makes? > > I do not succeed to understand where they come saves the data to you, > because the directory (/exist/rest/db/orbeon/xforms-bookcast/books.xml) he > does not exist > > -------------------------------------------------------------------------------- > > -- > 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 > ObjectWeb mailing lists service home page: http://www.objectweb.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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |