Page 25 of 25 FirstFirst ... 15232425
Results 241 to 246 of 246

Thread: [Ver. 1.0-beta2] Ext.ux.UploadForm File Upload Widget

  1. #241
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,664
    Vote Rating
    403
      0  

    Default

    It sounds very strange... I've tested also server errors and everything was fine... I have no other idea but to step int the code, both extension and Ext, to see what's happening.
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid MultiSearch Plugin, Grid MultiSort Plugin, Configuring ViewModel Hierarchy


  2. #242
    Ext User
    Join Date
    Jul 2008
    Posts
    3
    Vote Rating
    0
      0  

    Default

    Quote Originally Posted by jsakalos View Post
    It sounds very strange... I've tested also server errors and everything was fine... I have no other idea but to step int the code, both extension and Ext, to see what's happening.
    You know what was wrong?

    I was using an upload script hosted on a different virtual host to the one I was running the upload panel from. As soon as I moved the script to the same virtual host I started to receive valid values in the upload callback. Although quite why that should have made any difference I am not entirely sure.

  3. #243

    Default

    Hi jsakalos

    I would like insert insidemy window your fantastic component!
    Code:
    .
    .
    .
    .
    {
      columnWidth: 0.5,
      layout: 'form',
      bodyStyle: 'padding:5px;',
      border: false,
      items: [
      {xtype: 'textfield', fieldLabel: 'Business Phone', id: 'businessphone', name: 'businessphone', anchor: '95%'},
      {xtype: 'textfield', fieldLabel: 'Mobile Phone', id: 'mobilephone', name: 'mobilephone', anchor: '95%'},
      {xtype: 'textfield', fieldLabel: 'Tel. Extension', id: 'extension', name: 'extension', anchor: '55%'},
      {xtype: 'textfield', fieldLabel: 'Department', id: 'department', name: 'department', anchor: '95%'},
      {xtype: 'panel',
      items: new Ext.ux.UploadForm('form-ct-in', {
        autoCreate: true
        , url: '/filetree/filetree.php'
        , method: 'post'
        , maxFileSize: 1048570
        , pgCfg: {
          uploadIdName: 'UPLOAD_IDENTIFIER'
          , uploadIdValue: 'auto'
          , progressBar: true
          , progressTarget: 'under'
          , interval: 1000
          , maxPgErrors: 10
          , options: {
            url: 'progress.php'
            , method: 'post'
            //                , callback: pgCallback
          }
        }
        , baseParams: {
          cmd:'upload'
          , path: 'root'
        }
      })
      }
      ]
    }
    .
    .
    .
    .
    where I wrong?

    thanks

  4. #244
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,664
    Vote Rating
    403
      0  

    Default

    UploadForm is for Ext 1.x. Use UploadPanel instead.
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid MultiSearch Plugin, Grid MultiSort Plugin, Configuring ViewModel Hierarchy


  5. #245
    Ext User
    Join Date
    Mar 2010
    Location
    Guanatos
    Posts
    5
    Vote Rating
    0
      0  

    Default Upload Files

    Hello all,

    I would like to know if anyone has implemented this amazing work in ExtJS 3.x.x if so please share it .

  6. #246
    Sencha User
    Join Date
    Oct 2008
    Posts
    81
    Vote Rating
    0
      0  

    Default

    You may have a look here

Page 25 of 25 FirstFirst ... 15232425

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •