BJörn Lindqvist schrieb:
Good idea, but QxIframeTransport was never thought to be used directly.
This is part of the new transport implementation. You can take a look at
these "Transport_*.html" demos files.
Despite their name, all the Transport_* only uses the classes in the
QxRequest hierarchy. I haven't figured out which, if any, relation
QxRequest have with QxTransport.
All the things in the "transport" folder represents the new transport
(AJAX) implementation of qooxdoo. As a user of the API you always use
QxRequest. The other stuff should be handled internalls or with
properties of QxRequest.
Currently qooxdoo doesn't feature any special form handling. You must do
it your own. But I think it's a bad idea to directly use
QxIframeTransport. Better is to try to integrate this using the real
transport API and handle it somewhere in QxRequest.
It is not so easy because, as you probably already know, inputs of
type "file" has to be handled specially. You need to have a form that
you submit() and that form needs to contain the file input and the
file input need to have been attached to the document.
QxIframeTransport is the only suitable class I have found because it
has a private _form attribute to which the file input can be appended.
Using myRequest.setCrossDomain(true) for example switch to the iframe
transport because xmlhttp couldn't handle this type of request. I think,
if you would really like to help in this area, you have no other choice
than reading and understanding the already existing implementation in
the transport folder. I'm happy to answer you all questions you have
regarding this area.
If there is a better way, I'd really like to know because relying on
the _form attribute of QxIframeTransport is damn hackish. :)
I think the same.
Sebastian
--
mvh Björn
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel