-
28 Nov 2007 5:51 AM #201
Hmmm, single upload on demo page works; I've never tested concurrent uploads. I would suspect that it is how pecl uploadprogress handles progress. Apache runs multithread but I'm not quite sure that uploadprogress can get info on progress from all threads.
I'm not going into this deeper as I consider it only a cosmetic flaw...
Jozef Sakalos, aka Saki
A lot of valuable info at:
Saki's Extensions and Plugins
Saki's Extensions and Plugins Docs
Saki's Examples, Latest: Grid in Card Layout
Saki's Blog, Featured: Writing a Big Application in Ext, Latest: Grid MultiSearch Plugin Video
-
12 Dec 2007 11:07 AM #202
Single file upload
Single file upload
I have a place in my application where a user can upload a single picture. I don't need or want the complexity of multiple files, just a single file. If the user uploads a different file, it will just overwrite the old one. Is there a way to make this widget only allow one file to be uploaded?
It seems like this is a very common use case?
-
13 Dec 2007 7:12 AM #203
You can then use standard Ext form field upload framework.
Jozef Sakalos, aka Saki
A lot of valuable info at:
Saki's Extensions and Plugins
Saki's Extensions and Plugins Docs
Saki's Examples, Latest: Grid in Card Layout
Saki's Blog, Featured: Writing a Big Application in Ext, Latest: Grid MultiSearch Plugin Video
-
13 Dec 2007 7:47 AM #204
Where is that?
Where is that?
Pardon my ignorance, but I have scoured Ext.form.* and don't see anything relating to file uploads. What am I missing?
-
13 Dec 2007 4:01 PM #205
Look for BasicForm config fileUpload:true and for field type "file".
Jozef Sakalos, aka Saki
A lot of valuable info at:
Saki's Extensions and Plugins
Saki's Extensions and Plugins Docs
Saki's Examples, Latest: Grid in Card Layout
Saki's Blog, Featured: Writing a Big Application in Ext, Latest: Grid MultiSearch Plugin Video
-
20 Dec 2007 3:29 AM #206
works only with the ext-yui-adapter?
works only with the ext-yui-adapter?
Hello,
i want to use this extension wit the internal ext-adapter (my whole application uses this), but when i press the "upload"-button, an error occured:
has ever anyone tested it this way? or is the error on my side?Code:ext-base.js (line 12) : _94.elements has no properties getViewWidth(div#upl-panel.x-layout-active-content)ext-base.js (line 12) request(Object scope=Object timeout=30000)ext-all-debug.js (line 4966) run()ext-all-debug.js (line 24285) apply()ext-base.js (line 10) [Break on this error] (function(){var _1;Ext.lib.Dom={getViewWidth:function(_2){return _2?this.getDocu...
-
20 Dec 2007 3:35 AM #207
This version is not compatible with Ext 2.0. There is one port, not written by me, hanging around.
Jozef Sakalos, aka Saki
A lot of valuable info at:
Saki's Extensions and Plugins
Saki's Extensions and Plugins Docs
Saki's Examples, Latest: Grid in Card Layout
Saki's Blog, Featured: Writing a Big Application in Ext, Latest: Grid MultiSearch Plugin Video
-
20 Dec 2007 5:01 AM #208
oh sorry, i dont use ext 2.0, its on Ext 1.1.1
i would like to debug that, is there a possibility to view the output from the server (that is coming to the iframe)? I am trying to understand, how this gonna work, its a little new to me, please dont be hard to me
e.g. by a callback-function given to the UploadForm? I dont see anything right now
-
20 Dec 2007 7:11 AM #209
Well, the best advice is to compare your code with demo page code to find out a difference that could cause the error.
http://aariadne.com/uploadformJozef Sakalos, aka Saki
A lot of valuable info at:
Saki's Extensions and Plugins
Saki's Extensions and Plugins Docs
Saki's Examples, Latest: Grid in Card Layout
Saki's Blog, Featured: Writing a Big Application in Ext, Latest: Grid MultiSearch Plugin Video
-
21 Dec 2007 2:30 PM #210


Reply With Quote