Hi
I'm developing an online proposal form (a bit like biz doc) using ops and making good progress, a few sticking points but generally ok. However, I'm having difficulty making sense of the upload control. What I need to do is allow users to submit "additional information", probably a word / pdf doc, when particular critera require it. This uploaded doc should then be able to be downloaded by the administrator - via the admin section - when they review the proposal. Any advise here would be greatly appreciated. Many thanks Lee Bamford -- 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
|
Lee,
You don't say what exactly you are having problems with. For a start, you can look at the XForms Upload and XForms Sandbox examples: both use the upload control. http://www.orbeon.com/ops/goto-example/xforms-upload http://www.orbeon.com/ops/goto-example/xforms-sandbox One key aspect consists in binding the instance data node to either of the xs:base64Binary or xs:anyURI type. Check also this part of the documentation: http://www.orbeon.com/ops/doc/reference-xforms-ng#xforms-upload On the server, you have the opportunity to retrieve the uploaded file either within the submittedXForms instance if you used xs:base64Binary, or by dereferencing an URL if you used xs:anyURI. Then what you do with the data is up to you: you can store it in a database, save it on disk, etc. -Erik [hidden email] wrote: > Hi > > I'm developing an online proposal form (a bit like biz doc) using > ops and making good progress, a few sticking points but generally > ok. However, I'm having difficulty making sense of the upload > control. > > What I need to do is allow users to submit "additional information", > probably a word / pdf doc, when particular critera require it. This > uploaded doc should then be able to be downloaded by the > administrator - via the admin section - when they review the > proposal. > > Any advise here would be greatly appreciated. > > Many thanks > Lee Bamford -- 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 |
Thanks for the response Erik.
I'll have a play around with the examples. Thanks Lee ----- Original Message ----- From: "Erik Bruchez" <[hidden email]> To: <[hidden email]> Sent: Wednesday, April 12, 2006 1:08 AM Subject: Re: [ops-users] Upload Control > Lee, > > You don't say what exactly you are having problems with. > > For a start, you can look at the XForms Upload and XForms Sandbox > examples: both use the upload control. > > http://www.orbeon.com/ops/goto-example/xforms-upload > http://www.orbeon.com/ops/goto-example/xforms-sandbox > > One key aspect consists in binding the instance data node to either of > the xs:base64Binary or xs:anyURI type. Check also this part of the > documentation: > > http://www.orbeon.com/ops/doc/reference-xforms-ng#xforms-upload > > On the server, you have the opportunity to retrieve the uploaded file > either within the submittedXForms instance if you used > xs:base64Binary, or by dereferencing an URL if you used > xs:anyURI. Then what you do with the data is up to you: you can store > it in a database, save it on disk, etc. > > -Erik > > [hidden email] wrote: > > Hi > > > > I'm developing an online proposal form (a bit like biz doc) using > > ops and making good progress, a few sticking points but generally > > ok. However, I'm having difficulty making sense of the upload > > control. > > > > What I need to do is allow users to submit "additional information", > > probably a word / pdf doc, when particular critera require it. This > > uploaded doc should then be able to be downloaded by the > > administrator - via the admin section - when they review the > > proposal. > > > > Any advise here would be greatly appreciated. > > > > Many thanks > > Lee Bamford > > > -------------------------------------------------------------------------------- > > -- > 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 |