On Wed, Aug 27, 2008 at 1:14 AM, Adrian Butnaru <
[hidden email]> wrote:
> I am trying to find an example application in Orbeon on how to use
> serializer in order to download or open an uploaded file. I intend to use it
> with Form Runner. Can anybody more experienced give me some tips on how to
> proceed?
When users upload a file because you have an <xforms:upload> in the
form, if you set the type of the node to which the <xforms:upload> is
bound to be of type xs:anyURI, then the file will be automatically
stored on disk on the server in a temporary file. That file will stay
there until the session expires, and it is your responsibility to copy
it somewhere (e.g. upload to eXist or other database) if you don't want
that file to be lost.
So in general you won't need a serializer. You can use the URL generator
to read the file from its temporary location
(
http://www.orbeon.com/ops/doc/processors-generators-url). You can also
find more about the upload control on:
http://www.orbeon.com/ops/doc/reference-xforms-ng#xforms-uploadI hope this helps,
Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog:
http://www.orbeon.com/blog/Personal Blog:
http://avernet.blogspot.com/Twitter -
http://twitter.com/avernet--
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