Thank you Alex but it would be sufficient to use the usual file selector which pops up on normal upload form handling.

My current idea is to create a hidden iframe which includes a form which includes an input of type file.
By inheriting qx.ui.form.TextField (qx.ui.form.FileField) which shows the file select button.

With an associated valueChange eventhandler I can catch the change of the FileField value and set the file field value of
within the iframe.

After that I can trigger the submit method of the iframe form and catch the "load" event of the iframe which should indicate
the upload completion.

I just had a look at qx.io.remote.IframeTransport which also creates a hidden iframe with form within but I don't know the state of
implementation because the source has allot of TODO marks in it.


Alex D. schrieb:
Do you have JVM on your client PCs? If yes then you can use it(not really comfortable but anyway) to read files from hard drive. ;-)
Hi Dietrich,

we did it in an other project, without useing qooxdoo, in the following 
way. We create a div with style hidden, into the div we create a form 
with the file field. From outside we fill the form with _javascript_ and 
then post the form. For Securityreasons you could only use a 
Fileselector from your browser it is not possible to write one on your 
own in qooxdoo.

Dirk

Dietrich Streifert schrieb:
  
Hello List,

has anybody written code which does a file upload from within a qooxdoo 
application and is willing to share it with the list?

I'd like to get an idea on how file uploading could be done.

Opening a native window which has a form which includes an input tag of 
type file is the obvious method but that is not what the user wants.

Any help would be great.

Best regards...

  
    

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

  

------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

-- 
Mit freundlichen Grüßen
Dietrich Streifert
Visionet GmbH
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to