Fab Psycho wrote:

> Hi,
> 
>     I'd like to release some file upload from js flow.
> (I updated web.xml for file upload)
> 
> Does something like :
> 
> var myfile[];
> myfile=cocoon.request.getParameter("file")
> write(myfile, "filewritten");
The file is uploaded to your work directory in WEB-InF as you set in your
web.xml
in Flow you can retrieve with
loaddocument(path/form.getWidget().youruploadwidget.getValue().getFileName()) 
and then do waht you feel like move it , modify it ...

Tibor


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to