-
16 Aug 2007 7:27 AM #21
The problem isn't the progress bar actually, it's the grid (lines 284/285).. I can confirm that I don't have any custom CSS definitions affecting the result.
-
16 Aug 2007 7:47 AM #22
I would add that in IE7, the act of adding a file to the upload queue is also causing an error in ext-all-debug.js (1.1 stable) at line 2402:
That's the setStyle member of El.prototype - I'll try to help you figure out why.Code:setStyle : function(prop, value){ if(typeof prop == "string"){ var camel; if(!(camel = propCache[prop])){ camel = propCache[prop] = prop.replace(camelRe, camelFn); } if(camel == 'opacity') { this.setOpacity(value); }else{ this.dom.style[camel] = value; } }else{ for(var style in prop){ if(typeof prop[style] != "function"){ this.setStyle(style, prop[style]); } } } return this; },
-
16 Aug 2007 7:55 AM #23
The problem occurs in Ext.ux.ProgressBar.js at line 94:
Code:refresh : function() { if (!this.disabled) { if (this.text_el) { this.text_el.dom.innerHTML = this.text; } if (this.line_el) { this.line_el.setStyle('width', this.getPercentValue() + '%'); } }
-
16 Aug 2007 7:56 AM #24
Fixed the scroll bars issue, please update the package.
Use the force - read the source.
My ExtJS extensions can be found here: http://max-bazhenov.com/dev/
-
16 Aug 2007 8:06 AM #25
Fixed the scroll bars issue! A+ Just that pesky IE issue remaining. I'll gladly help you track down a fix if you need.
-
16 Aug 2007 12:31 PM #26
Use the force - read the source.
My ExtJS extensions can be found here: http://max-bazhenov.com/dev/
-
16 Aug 2007 4:55 PM #27
-
18 Aug 2007 3:37 AM #28
Hi, the extension is GREAT !! Just what i'm looking for. Could you put the php files that use in the demo to understand all the process please?
Thanks.
-
18 Aug 2007 5:07 AM #29
There is nothing special in the php files used in the demo. The upload-dialog.php actually has no php code inside, it's just plain html. The upload-dialog-request.php simple sends json-encoded struct, the uploaded files isn't saved anywhere

In the real life use you have to anylize the $_FILES superglobal php array. The $_FILES['file'] contains any data you'll need to copy uploaded file somewhere in your serverCode:<?php $response = array( 'success' => true ); echo json_encode($response); ?>
On success just send json-encoded response as one showed above, on fail send something like:
Code:<?php ... $response = array( 'success' => false, 'error' => 'Description of the error occured.' ); echo json_encode($response); ... ?>Use the force - read the source.
My ExtJS extensions can be found here: http://max-bazhenov.com/dev/
-
22 Aug 2007 12:04 AM #30
What a great extension! Much respect for you all !



Reply With Quote
