PDA

View Full Version : Saki's Upload Panel not doing POST



incanus
16 May 2011, 2:48 AM
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?



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

incanus
16 May 2011, 3:44 AM
in fact, it's doing a GET action. where ir could be configured?