Ryan
Can I just check I would be doing this right I edit page-flow.xml then I load all my files to http://www.orbeon.com/ops/goto-example/xforms-sandbox So for example I would change <page id="summary" path-info="/forms" model="summary/summary-model.xpl" view="summary/summary-view.xhtml"/> <page id="detail" path-info="/forms/detail" default-submission="detail/parameters.xml" model="detail/detail-model.xpl" view="detail/detail-view.xhtml"> <setvalue ref="/parameters/document-id" parameter="document-id"/> </page> would I change this part to <page id="summary" path-info="http://www.orbeon.com/ops/goto-example/xforms-sandbox" model="http://www.orbeon.com/ops/goto-example/xforms-sandbox/summary-model.xpl" view="http://www.orbeon.com/ops/goto-example/xforms-sandbox/summary-view.xhtml"/> <page id="detail" path-info="http://www.orbeon.com/ops/goto-example/xforms-sandbox" default-submission="http://www.orbeon.com/ops/goto-example/xforms-sandbox/parameters.xml" model="http://www.orbeon.com/ops/goto-example/xforms-sandbox/detail-model.xpl" view="http://www.orbeon.com/ops/goto-example/xforms-sandbox/detail-view.xhtml"> <setvalue ref="http://www.orbeon.com/ops/goto-example/xforms-sandbox/document-id" parameter="document-id"/> </page> and etc for the rest of the page-flow.xml page. Also should I change the name of all my files, e.g add peterhale to the end of each name and call them as such from page-flowpeterhale.xml, otherwise my file names would be the same as any already in the sandbox? Thank You Peter -- 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 |
Peter,
You won't be able to use the xforms-sandbox for multiple files, you will need to run this locally Ryan Ryan Puddephatt Software Engineer Teleflex Group - IT UK 1 Michaelson Square Livingston West Lothian Scotland EH54 7DP e> [hidden email] t> +44(0)1506 407 110 f> +44(0)1506 407 108 >-----Original Message----- >From: [hidden email] [mailto:[hidden email]] >Sent: 02 November 2006 13:15 >To: [hidden email] >Subject: [ops-users] XForms Sandbox > >Ryan > >Can I just check I would be doing this right > >I edit page-flow.xml then > >I load all my files to >http://www.orbeon.com/ops/goto-example/xforms-sandbox > >So for example I would change > > <page id="summary" path-info="/forms" >model="summary/summary-model.xpl" view="summary/summary-view.xhtml"/> > > <page id="detail" path-info="/forms/detail" > default-submission="detail/parameters.xml" > model="detail/detail-model.xpl" > view="detail/detail-view.xhtml"> > <setvalue ref="/parameters/document-id" >parameter="document-id"/> > </page> > >would I change this part to > > <page id="summary" >path-info="http://www.orbeon.com/ops/goto-example/xforms-sandbo xpl" >view="http://www.orbeon.com/ops/goto-example/xforms-sandbox/sum mary-view.xhtml"/> > > <page id="detail" >path-info="http://www.orbeon.com/ops/goto-example/xforms-sandbox" > >default-submission="http://www.orbeon.com/ops/goto-example/xfor ms-sandbox/parameters.xml" > >model="http://www.orbeon.com/ops/goto-example/xforms-sandbox/de tail-model.xpl" > >view="http://www.orbeon.com/ops/goto-example/xforms-sandbox/det ail-view.xhtml"> > <setvalue >ref="http://www.orbeon.com/ops/goto-example/xforms-sandbox/docu ment-id" parameter="document-id"/> > </page> > >and etc for the rest of the page-flow.xml page. Also should I >change the name of all my files, e.g add peterhale to the end >of each name and call them as such from >page-flowpeterhale.xml, otherwise my file names would be the >same as any already in the sandbox? > >Thank You > >Peter > > > > > -- 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 |
Administrator
|
In reply to this post by peter2.hale
Peter,
The sandbox is only able to run a single XForms document that you upload temporarily. If other files are required by this XForms document, they have to be available through URLs like "oxf:", "file:", or "http:". So your plan below wouldn't work. We have some pretty cool ideas about how we could expand the sandbox to allow something more in line with what you want to do, but currently that's not possible. What you need to do is create a new directory for your application under WEB-INF/resources and put your application files under that directory. We've been saying this for a while, but new tutorial, easier way to create a new application, and less confusing directory hierarchy are all coming real soon now (tm)! -Erik [hidden email] wrote: > Ryan > > Can I just check I would be doing this right > > I edit page-flow.xml then > > I load all my files to http://www.orbeon.com/ops/goto-example/xforms-sandbox > > So for example I would change > > <page id="summary" path-info="/forms" model="summary/summary-model.xpl" view="summary/summary-view.xhtml"/> > > <page id="detail" path-info="/forms/detail" > default-submission="detail/parameters.xml" > model="detail/detail-model.xpl" > view="detail/detail-view.xhtml"> > <setvalue ref="/parameters/document-id" parameter="document-id"/> > </page> > > would I change this part to > > <page id="summary" path-info="http://www.orbeon.com/ops/goto-example/xforms-sandbox" model="http://www.orbeon.com/ops/goto-example/xforms-sandbox/summary-model.xpl" view="http://www.orbeon.com/ops/goto-example/xforms-sandbox/summary-view.xhtml"/> > > <page id="detail" path-info="http://www.orbeon.com/ops/goto-example/xforms-sandbox" > default-submission="http://www.orbeon.com/ops/goto-example/xforms-sandbox/parameters.xml" > model="http://www.orbeon.com/ops/goto-example/xforms-sandbox/detail-model.xpl" > view="http://www.orbeon.com/ops/goto-example/xforms-sandbox/detail-view.xhtml"> > <setvalue ref="http://www.orbeon.com/ops/goto-example/xforms-sandbox/document-id" parameter="document-id"/> > </page> > > and etc for the rest of the page-flow.xml page. Also should I change the name of all my files, e.g add peterhale to the end of each name and call them as such from page-flowpeterhale.xml, otherwise my file names would be the same as any already in the sandbox? > > Thank You > > Peter > > > > > > > ------------------------------------------------------------------------ > > > -- > 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 -- Orbeon - XForms Everywhere: http://www.orbeon.com/blog/ -- 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 |