1. #201
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,132
    Vote Rating
    322
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    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...

  2. #202
    Ext User
    Join Date
    Apr 2007
    Posts
    5
    Vote Rating
    0
    cleverdevil is on a distinguished road

      0  

    Default 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?

  3. #203
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,132
    Vote Rating
    322
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    You can then use standard Ext form field upload framework.

  4. #204
    Ext User
    Join Date
    Apr 2007
    Posts
    5
    Vote Rating
    0
    cleverdevil is on a distinguished road

      0  

    Default 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?

  5. #205
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,132
    Vote Rating
    322
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    Look for BasicForm config fileUpload:true and for field type "file".

  6. #206
    Ext User
    Join Date
    Mar 2007
    Posts
    24
    Vote Rating
    0
    christ1an is on a distinguished road

      0  

    Default 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:

    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...
    has ever anyone tested it this way? or is the error on my side?

  7. #207
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,132
    Vote Rating
    322
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    This version is not compatible with Ext 2.0. There is one port, not written by me, hanging around.

  8. #208
    Ext User
    Join Date
    Mar 2007
    Posts
    24
    Vote Rating
    0
    christ1an is on a distinguished road

      0  

    Default


    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

  9. #209
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,132
    Vote Rating
    322
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    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/uploadform

  10. #210
    Ext User
    Join Date
    Oct 2007
    Location
    Russia
    Posts
    22
    Vote Rating
    0
    Aleks_P is on a distinguished road

      0  

    Default


    Quote Originally Posted by SilveR316 View Post
    I posted the 2.0 version of the code here: http://extjs.com/forum/showthread.php?t=17956

    Please continue any 2.0 discussion there so we don't clutter up this 1.x thread with 2.0 stuff.
    SilveR316, could post here source of upload.php and progress.php?

    btw is there possibility to add multiple files selection in open dialog?
    Last edited by Aleks_P; 22 Dec 2007 at 9:33 AM. Reason: question

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar