Ok, now I know that such behavior is due to security reasons. There might be some ways to hack it, but is there really no other, secure way to upload file from a qooxdoo application?
Wojciech On sob, 2010-05-22 at 05:28 -0700, swojtek wrote: > Hello, > I am having problems with uploadwidget contribution. I have implemented > everything according to the documentation and when a form gets submitted > (form.submit() method), a get the following error: > > uncaught exception: [Exception... "Component returned failure code: > 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIDOMHTMLFormElement.submit]" > nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: > file:///tmp/cache/downloads/UploadWidget/trunk/source/class/uploadwidget/UploadForm.js > :: anonymous :: line 339" data: no] > > After file selection, the textField reads only the file name (in Firefox) > and in Opera the path is weird: "C:/fake_path/FILENAME" I am using Ubuntu > 10.04, qooxdoo 1.1 and the widget does not work in any browser under ubuntu > (I have not tested it under Windows yet). > Any suggestions? ------------------------------------------------------------------------------ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
