-
21 Jan 2011 12:17 PM #821
Hi
Here is a question for you.
I previously used part of the tree code to download server side file (similar to the right-click/Open/Download option), but as some of the export information is large I added a progress bar. This worked fine in version 2.2 and I am just upgrading.
The problem I have is that the callback does not seem to be called.Code:var progressMessage = Ext.MessageBox.wait("Export to "+ item.exportFormat + " in progress", "Grid Export") var callback = function() { progressMessage.hide(); Ext.EventManager.removeListener(frame, 'load', callback, this); setTimeout(function () { document.body.removeChild(form); }, 200); setTimeout(function () { document.body.removeChild(frame); }, 220); }; Ext.EventManager.on(frame, 'load', callback, this); form.submit();
Even if I put an alert in, the code never seems to pass into the callback. I cannot see it either in the debugger (firefox or chrome).
Obviously the concern is that also it is not clearing the iframe.
Does anyone have any ideas what has changed to break this?
Thanks in advance
-
13 Apr 2011 11:23 PM #822
Link is broken.. can't download the package..
Also, is this compatbile with ExtJs 3.3.1?
-
14 Apr 2011 12:16 AM #823
U can download the complete files working for Extjs 3.x @http://subversion.assembla.com/svn/c...iletreesample/ see piyushjain7 post on page 20.
-
14 Apr 2011 1:59 AM #824
I've fixed the download link
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
-
3 May 2011 8:08 PM #825
TreePanel configuration
TreePanel configuration
Hi
I'm looking for any tools for building TreePanel configuration. It not necessary for me to manipulate with files or folders - only abstract nodes. Is it possible using this application (which allowed create,delete,drag & drop nodes) save configuration of TreePanel in external file?
-
6 May 2011 2:14 AM #826
I haven nothing that saves a tree config in an external file but I have RemoteTree extension that could serve a good basis for that. See http://remotetree.extjs.eu
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
-
6 May 2011 2:24 AM #827
Has anyone got FileTree working in Ext4?
-
9 May 2011 3:24 PM #828
Bug with singleUpload when you return an error? Ignores state = uploading
Bug with singleUpload when you return an error? Ignores state = uploading
Hi Saki,
I'm using an Ext.ux.UploadPanel with singleUpload:true and enableProgress:false, and Ext 2.3. If there's an error, I return something like this:
The uploadCallback method notices the value of "success", and calls processFailure. This contains the following code:Code:{"success":false,"errors":{"ext-gen817":"Upload failed"}}
So it ignores the responses for files where state is "uploading". But that seems to be the state for all files I'm currently in the process of uploading. So it doesn't find my error message. As a result, the icon next to the file keeps spinning, instead of showing the error icon.Code:// some files may have been successful records = this.store.queryBy(function(r){ var state = r.get('state'); return 'done' !== state && 'uploading' !== state; });
Am I missing something? I don't see where it would change the state to anything but "uploading". If I remove this check, it seems to work.
Thanks,
Jacob
-
13 Jun 2011 12:25 AM #829
Very new to Ext and FileTree
Very new to Ext and FileTree
Hi Saki,
Firstly awesome job you are doing and what Ext can do.
I am very new to Ext and have stumbled across your site.
I have managed to struggle through with the FileTree extension i downloaded on page filetree.extjs.eu. When i look in the server logs they mention filetree.php. I cannot find this anywhere, is there something i am doing wrong?
Also reading this blog it looks like there is a newer version and also Ext 4 is available. Could you recommend where i find the latest working version and what version of Ext i should use.
Also maybe a naive question, but does filetree populate the tree automatically from the server, or do i have to write something to populate it?
thanks
Peter

-
6 Jul 2011 3:14 AM #830
Q
Q
First, well done Saki!
How can I automatically send the file to the server, when I add the file to the queue, without pressing the transfer button ?


Reply With Quote