Erik,

It looks like the xforms example actually uses a webservice to upload
the file. The service then provides a URL from which the calling app can
access the file.  I don't think Alex would appreciate me using his
service within our application. :) 

I was thinking that the best thing to do might be to use the Delegation
processor to access a java bean that uses the commons-fileupload code.

Thanks,

PEter





-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Erik Bruchez
Sent: Monday, March 22, 2004 9:43 PM
To: OXF Users
Subject: Re: File Upload

Hi Peter,

We support file upload from XForms:

   http://www.orbeon.com/oxf/examples/xforms-upload

The current XLS generator handles the upload on its own:

   http://www.orbeon.com/oxf/doc/processors-charts-spreadsheets#N103A4

Note that we will have much better support for file upload in the
upcoming 
2.5, including enhanced support from XFroms, streaming (which allows you
to 
upload very large files independently from the amount of RAM you have),
better 
support for binaries, integration with the SQL processor, and a new
Binary 
serializer.

-Erik

Peter Charles wrote:

> Hi,
> 
> I have a question about your file upload example.  In it you use the
> delegation processor to access a file upload web-service.  You do
> however include the commons-fileupload-1.0-beta-1.jar in the 2.2
> release.  Which suggests that file upload is used in some way in OXF.

> 
> You also use file upload in the excel example, however it is unclear
how
> you are accomplishing this.  Are you calling the fileupload package
from
> the xls-generator processors?  
> 
> Is there an example that uses the commons-fileupload to upload a file
or
> is it only used from with in other procesors?
> 
> Thanks
> 
> Peter
> 
> 
> -----<CDE/>-----
> Center for Document Engineering
> University of California, Berkeley
> cde.berkeley.edu

_______________________________________________
oxf-users mailing list
[EMAIL PROTECTED]
http://mail.orbeon.com/mailman/listinfo/oxf-users

_______________________________________________
oxf-users mailing list
[EMAIL PROTECTED]
http://mail.orbeon.com/mailman/listinfo/oxf-users

Reply via email to