-
26 Oct 2010 1:14 AM #1
File Upload
File Upload
How can I realize a file upload form with sencha touch.
inputType: 'file' does not work well.
The form does not submit the file to the server.
Thanks Ralf
-
26 Oct 2010 1:17 AM #2Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
-
26 Oct 2010 3:26 AM #3
-
26 Oct 2010 3:55 AM #4
Sencha Touch implies mobile devices. iPad and iPhone cannot upload.
Obviously it works from browsers on desktops.
And if you are using Sencha Touch on a desktop, then first, Why? But second, the file upload problem is your own. File uploads are not regular HTTP params, as the API docs remind you!Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
26 Oct 2010 4:18 AM #5
Thank you.
I am using a safari desktop browser for testing. We want do develop mobile apps with sencha touch for our B2B solution.
We need file-upload for this application.
I understand, that Apple wants to sell Apps. So HTML5 on iPad and iPhone is limited.
Ralf
-
26 Oct 2010 4:25 AM #6
Just do a normal form post then, using the standardSubmit option on the form.
Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
-
26 Oct 2010 5:01 AM #7
Thank you,
it works. (On my desktop Safari)
But, as I understand, it would not work on an iPhone or iPad?
Ralf
-
31 Dec 2012 4:13 AM #8
InputType
InputType
Where is InputType for fields in touch 2 gone?
HTML5 file upload works now fine - even for new iphones.
Similar Threads
-
Saki - File upload - Doesn't give an absolute path of a file in FF
By amodg in forum Ext 3.x: Help & DiscussionReplies: 12Last Post: 4 Apr 2010, 9:02 PM -
file upload should happen on selecting a file
By avilanchee in forum Ext GWT: DiscussionReplies: 1Last Post: 4 Nov 2009, 2:15 AM -
[CLOSED][3.0.0] Windows 7 - File Path for file upload field
By jeroenooms in forum Ext 3.x: BugsReplies: 2Last Post: 23 Aug 2009, 6:18 PM -
can't upload single file by intput:file
By nileshpatil in forum Ext 2.x: Help & DiscussionReplies: 4Last Post: 17 Sep 2008, 1:55 AM -
file upload file in an ext.window
By anitsirc in forum Ext 2.x: Help & DiscussionReplies: 4Last Post: 10 Sep 2008, 1:12 PM


Reply With Quote