1. #1
    Sencha User
    Join Date
    Jan 2011
    Posts
    12
    Vote Rating
    0
    incanus is on a distinguished road

      0  

    Default Saki's Upload Panel not doing POST

    Saki's Upload Panel not doing POST


    Hi,
    i'm trying to use a UploadPanel to upload files, but it is not sending any post parameters. Either the baseParams not the file is being sent. I'm doing something wrong?

    Code:
    new Ext.Panel({
                            height:200
                            ,minWidth:165
                            ,id: 'xFile'+perfil
                            ,layout:'fit'
                            //,anchor:'60%'
                            ,border:false
                            ,closable:false
                            ,iconCls:'icon-upload'
                            ,fileUpload:true
                            ,items:[
                                {
                                xtype:'uploadpanel'
                                ,buttonsAt:'tbar'
                                ,autoScroll:true
                                ,id:metadato+perfil
                                ,url:g_HttpRelativeWebRoot + 'idcplg?IdcService=CHECKIN_UNIVERSAL' 
                                ,path:'root'
                                ,maxFileSize:1048576
                                ,baseParams:{
                                    cmd:'add_file',
                                    dDocTitle:'',
                                    dDocType: perfil,
                                    dSecurityGroup: 'GS_EM_HEADER',
                                    op:'addDocument'
                                    ,dDocName:''
                                    ,dID: ''
                                    ,xComments: ''
                                }    
                                ,enableProgress:false
                                ,singleUpload:false
                            }]
                        });
    EDIT: I'm using Ext Js 3.2.1

  2. #2
    Sencha User
    Join Date
    Jan 2011
    Posts
    12
    Vote Rating
    0
    incanus is on a distinguished road

      0  

    Default


    in fact, it's doing a GET action. where ir could be configured?

Similar Threads

  1. UploadPanel by Saki - Upload Button Click ?
    By srajakaruna in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 4 Oct 2010, 11:46 AM
  2. Saki - File upload - Doesn't give an absolute path of a file in FF
    By amodg in forum Ext 3.x: Help & Discussion
    Replies: 12
    Last Post: 4 Apr 2010, 9:02 PM
  3. Form Upload - input not in the POST
    By maquejp in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 2 Mar 2009, 4:04 AM
  4. File Upload No POST
    By mic2100 in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 22 Sep 2008, 1:39 AM
  5. File Upload with AJAX. The method is always POST?
    By wang in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 11 Jun 2008, 11:31 PM