Hi Florian

What do you mean by "classic HTML form"? I assume you built the form
with qooxdoo form elements?

As far as i know you cannot send files using AJAX (xmlHttp). You'll have
to change your type of transport.. did you try to set the "fileUpload"
Property?
http://demo.qooxdoo.org/current/apiviewer/#qx.io.remote.Request~fileUpload

Regards - Roman



Florian Giesen wrote:
> Hello Alex,
> 
> thanks for your answer. If i don't find another solution, i will use the
> upload widget, but in my actual scenario i would like to avoid it: i
> have a classic HTML form and want to submit the form data via an ajax
> request with qooxdoo. In the best case, i don't want to touch the form
> and up to now everything works fine (qx.io.remote.Request.setFormField)
> except the file upload.
> 
> As i have access to the generation of the form, noone here should spend
> much time, to search a solution for me, but if someone has the right
> hint for me, this would save me a lot of time.
> 
> Regards, Florian
> 
> 2009/1/27 Alexander Back <[email protected]
> <mailto:[email protected]>>
> 
>     Hi Florian,
> 
>     Florian Giesen wrote:
>     > Hello Qooxdooians,
>     >
>     > has anyone an idea how to get file uploads working with
>     > qx.io.remote.Request or am i trying something impossible ?
>     I have some good news for you: you do not have to implement a file
>     upload widget for yourself. qooxdoo is already offering such a widget.
>     -> http://qooxdoo.org/contrib/project#uploadwidget
> 
>     All you have to do is to integrate this widget in your application and
>     start using it.
>     -> http://qooxdoo.org/contrib/usage
> 
>     If you have further questions, don't hesitate to ask them.
> 
>     cheers,
>       Alex
> 
>     
> ------------------------------------------------------------------------------
>     This SF.net email is sponsored by:
>     SourcForge Community
>     SourceForge wants to tell your story.
>     http://p.sf.net/sfu/sf-spreadtheword
>     _______________________________________________
>     qooxdoo-devel mailing list
>     [email protected]
>     <mailto:[email protected]>
>     https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to