Opened 13 years ago

Closed 12 years ago

Last modified 10 years ago

#2353 closed defect (wontfix)

File upload when done inside a widget

Reported by: niki.driessen@… Owned by: alex
Priority: high Milestone: 1.1
Component: IO Version: 0.4
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

When submitting a form that contains a file upload, using the following code

dojo.require("dojo.io.IFrameIO");
dojo.io.bind({
  url: .....,
  formNode: myForm
});

this works fine when i put the script in my page. However after creating a widget that has a method createItemFromForm(formNode); that does the same as above, Dojo fails with the message saying that the loaded transports dont support the submit of the file upload...

It seems that when called from within a widget context, dojo.io has problems detecting IframeIO

Change History (3)

comment:1 Changed 13 years ago by dylan

Milestone: 0.9

comment:2 Changed 12 years ago by bill

Description: modified (diff)
Milestone: 0.91.1

Can you supply a testcase?

comment:3 Changed 12 years ago by alex

Resolution: wontfix
Status: newclosed

this api has been made explicit and is now available in dojo.io.iframe.send(). There is no implicit detection logic as in the old dojo.io.bind() system. Marking wontfix.

Note: See TracTickets for help on using tickets.