-
19 Jun 2008 11:13 AM #361
Is it a FF3 or a FileTreePanel bug?
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
-
19 Jun 2008 11:53 AM #362
-
21 Jun 2008 12:07 AM #363
hi ,saki. I have a problem with Ext.ux.UploadPanel. It will make me insane.
Ext.ux.UploadPanel can't work with ie6,and it told that lacks of object
would you please tell me why? code as below ,thanks a lot
dxpt.js
[code]
Ext.onReady(function(){
function yddh_bt_sclk(e){
var win;
var uploadPanel=new Ext.ux.UploadPanel({
title:'
-
21 Jun 2008 1:52 AM #364
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
-
21 Jun 2008 7:15 AM #365
i'm sorry ,saki. i try to describe it particularly.
i just tested my demo with ie 6.0.
my code in dxpt.js may be divided into three parts
first
secondCode:var win; if(!win){ win = new Ext.Window({ layout:'fit', width:500, height:300, closeAction:'hide', plain: true, title:'upload, buttons: [{ text:'submit, disabled:true },{ text: 'close, handler: function(){ win.hide(); } }] }); };
thirdCode:var uploadPanel=new Ext.ux.UploadPanel({ title:'uploading file', xtype:'uploadpanel', buttonsAt:'tbar', id:'upload', url:'dxzy.jsp', path:'root', maxFileSize:'1048576', enableProgress:false });
everyting is ok in first,second part. as the execution reached the lineCode:win.add(uploadPanel); win.show(this);
"win.show(this)", ie 6.0 browser informed me "no objects". Then i try
add another panel to window, no problem except uploadPanel.
I have tried my best,I don't know whether you figure out what happened.
thanks a lot,saki
-
21 Jun 2008 12:57 PM #366
Hey Saki, thanks for the great extension!
Is there a way to integrate the widget into a form?
Almost all the upload widgets I've seen so far are pop up windows wich let you browse for files and then upload them.
I need to integrate the widget into a form (actually in this particular case it is a wizard, a card layout).
Trying to render it into a form ; I understat that it requires a div container to render to so I added one in the form like this:
Then I render the upload widget into it:Code:Ext.DomHelper.append(wiz2.body, { tag : "div", id : "upload_panel" });
I got the widget rendered but seems like the css is not loaded correcly, I am not a css expert thoCode:new Ext.ux.UploadForm('upload_panel', { 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' } })
I've uploaded a picture with the form.
Is there another simpler way to use the widget along with a form as an ordinary input widget?
Thanks
-
21 Jun 2008 10:54 PM #367
I have made a stupid mistake.I don't import browserbutton.js.
saki,Filetree is amazing extention. thks very much
-
23 Jun 2008 2:20 AM #368
Hi Paul, I did the ASP back-end successfully, may be you want to take a look. It should be easier in .NET because it has many function needed than the classic ASP. By seeing mine you might have an idea to build your own .aspx back-end.
See my posting here:
http://extjs.com/forum/showthread.php?t=29090&page=34
snapshot:

-
23 Jun 2008 5:26 AM #369
-
23 Jun 2008 5:28 AM #370
Hi Saki,
Do you have any news for my problem as described in post #360?
Another question: in your component, when you upload a file, you can stop the upload. My question is: do you really stop the upload (stop sending data), or do you just remove the list of the file, while in the background data keeps being uploaded?
Thanks,
PaulLast edited by smartlit; 23 Jun 2008 at 6:18 AM. Reason: Add a question


Reply With Quote
