Re: [qooxdoo-devel] File Upload from within a qooxdoo application

2007-12-14 Thread Jim Hunter
If you are using an IFrame then it is not going to work since at the root you are using the built in file upload facility of the browser and it's the browser that has the problem. As soon as the browser starts to initiate a connection to the server it aborts, never actually reaching the server. Whe

Re: [qooxdoo-devel] File Upload from within a qooxdoo application

2007-12-14 Thread Dietrich Streifert
Sorry but have not tested it under SSL at all. The widget creates a hidden iframe which is used as a target for the upload form (by means of the element form attribute target). The current document is not blocked by the upload process and is able the receive a "loaded" event from the hidden if

Re: [qooxdoo-devel] File Upload from within a qooxdoo application

2007-12-13 Thread Jim Hunter
So how is your file upload component working, now that you have had it working for a year+? What I am mostly concerned about is if it works on IE6 with SSL? A normal HTM form on IE6 using SSL does not work. Have you tested it under this scenario? Thanks, Jim On Nov 6, 2006 3:20 AM, David Gerlich

Re: [qooxdoo-devel] File Upload from within a qooxdoo application

2006-11-06 Thread Dietrich Streifert
Hi David! That would be great! Please send your implementation! I'm especially curious on how you managed to avoid the "browse" button. Thanks allot! David Gerlich schrieb: Jim Hunter schrieb: I wish you a lot of luck but where you are going to hit the wall is trying to get

Re: [qooxdoo-devel] File Upload from within a qooxdoo application

2006-11-06 Thread David Gerlich
Jim Hunter schrieb: > I wish you a lot of luck but where you are going to hit the wall is > trying to get the file data into or out of the input tag, JavaScript > won't let you. The only way to get the file data from the input tag to > the server is to do a basic form submit. This is a security

Re: [qooxdoo-devel] File Upload from within a qooxdoo application

2006-11-02 Thread Jim Hunter
I wish you a lot of luck but where you are going to hit the wall is trying to get the file data into or out of the input tag, _javascript_ won't let you. The only way to get the file data from the input tag to the server is to do a basic form submit.  This is a security design built into _javascrip

Re: [qooxdoo-devel] File Upload from within a qooxdoo application

2006-11-02 Thread Dirk Wellmann
Hi Dietrich, I only know the half, in IE it works with "document.forms[nn].nameofintput.click()" but this won't work in mozilla! here is how it works with IE: --- snip --- snap --- snip --- !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd";>

Re: [qooxdoo-devel] File Upload from within a qooxdoo application

2006-11-02 Thread Dietrich Streifert
Does anybody know how the button of a input tag of type file can be triggered through javascipt? Any help would be great. Thank you. 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

Re: [qooxdoo-devel] File Upload from within a qooxdoo application

2006-11-02 Thread Dietrich Streifert
Well the goal is to have a single widget which handles everything needed. Events are fired like "completed", "timeout", "failure" so the interface is as simple as possible. For the upload process itself I'm now trying to subclass qx.io.remote.IframeTransport where everything seems to be ready

Re: [qooxdoo-devel] File Upload from within a qooxdoo application

2006-11-02 Thread Alex D.
Why would you use qooxdoo-widgets for this? I think it's easier to create a form with DOM-api(createElement, createTextNode, createAttribute...). But i haven't tried such a thing yet. Thank you Alex but it would be sufficient to use the usual file selector which pops up on normal upload

Re: [qooxdoo-devel] File Upload from within a qooxdoo application

2006-11-02 Thread Dietrich Streifert
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

Re: [qooxdoo-devel] File Upload from within a qooxdoo application

2006-11-02 Thread Alex D.
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 w

Re: [qooxdoo-devel] File Upload from within a qooxdoo application

2006-11-02 Thread Dirk Wellmann
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 Filesel

[qooxdoo-devel] File Upload from within a qooxdoo application

2006-11-02 Thread Dietrich Streifert
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 obviou