Hi Andy,

I'm not a expert for the file-upload widget. But with your error 
description I know the reason for your issue.

IE 8 has a security check for sending forms. When the submit function is 
called, IE checks the "origin". If the "origin" is a user interaction 
(mouse click etc.) the form will submit, otherwise the "Access denied". 
An example for the "Access denied" is when the handler function from a 
timer tries to submit the form, in this case the "origin" is not from a 
user.

Cheers,
Chris

Am 01.12.2010 19:36, schrieb Andy Fuchs:
> Hm, I'm still struggling with the file-upload in Qooxdoo and
> InternetExplorer 8. (Is there nobody out there doing file-uploads using
> qooxdoo?)
>
> I'm creating a form with an 'Input' element, for the user to choose a file
> to upload.
>
> Meanwhile everything works across all browsers, but I can't send a form in
> IE8 using:
>
> form.submit()
>
> If I do this, I get an 'TypeError' exception 'Access denied'...
>
> As I said: It works on Firefox, Safari, MacOSX, Win, but not on Internet
> Explorer 8.
>
> Can anybody provide a hint what the problem could be?
>
> Does it matter, if I create the input element:
>
> 1)
>       control =  new qx.html.Input('file', css);
>
> or 2)
>         control =  new qx.html.Element('input',css,{
>              type : 'file',
>              name : ''
>          });
>
> Any hint appreciated!
>
> andy
>
>
>
>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App&  Earn a Chance To Win $500!
> Tap into the largest installed PC base&  get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to