Hi,
to export a created form from form-builder I can easily get it by browsing the eXist-DB. Using wget: wget http://host:8080/orbeon/exist/rest/db/form_lesson/form1/form/form.xhtml delivers me my complete form. Fine. And now I'd like to include it in another instance of orbeon to use it there, but just copying it in a directory and browsing to it does not work, it stops with nasty NullPointerExceptions. I created the directory: ~/apache-tomcat-5.5.28/webapps/orbeon/WEB-INF/resources/apps/xforms-form copied the file there created a page-flow.xml: <config xmlns="http://www.orbeon.com/oxf/controller"> <page path-info="*" view="form.xhtml"/> <epilogue url="oxf:/config/epilogue.xpl"/> </config> But it just won't start. Where can I get information on how to get the form running? What am I missing? Thanks for your help Cheers Heinrich -- Before printing this e-mail, think about our environmental responsibility. -- 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 |
Heinrich, May I suggest you try creating a backup of the collection, and then restore it to your other site. You can use the eXist admin GUI by running the Java Web start from the Launch button on the lower left: http://exist-db.org/ Form Runner looks to the eXist data store. I am sure you could move this to a file and alter the code to look to file storage, but perhaps the first test is to move the form without making code changes. HTH, Louis (Hank) Ratzesberger Quoting Heinrich Götzger <[hidden email]>: > Hi, > > to export a created form from form-builder I can easily get it by > browsing the eXist-DB. > > Using wget: > wget http://host:8080/orbeon/exist/rest/db/form_lesson/form1/form/form.xhtml > > delivers me my complete form. Fine. > > And now I'd like to include it in another instance of orbeon to use > it there, but just copying it in a directory and browsing to it does > not work, it stops with nasty NullPointerExceptions. > > I created the directory: > ~/apache-tomcat-5.5.28/webapps/orbeon/WEB-INF/resources/apps/xforms-form > > copied the file there > > created a page-flow.xml: > > <config xmlns="http://www.orbeon.com/oxf/controller"> > > <page path-info="*" view="form.xhtml"/> > > <epilogue url="oxf:/config/epilogue.xpl"/> > > </config> > > But it just won't start. > > Where can I get information on how to get the form running? > What am I missing? > > Thanks for your help > > Cheers > > Heinrich > > > -- > Before printing this e-mail, think about our environmental responsibility. > -- Hank Ratzesberger [hidden email] -- 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 |
Free forum by Nabble | Edit this page |