-
5 Apr 2008 5:26 PM #141
i've done that. what should do i do to refresh the filetreepanel?
//uppanel -> uploadpanel
var u = Ext.getCmp('uppanel');
u.on('allfinished', function(event, target) {
//webUploadFiles -> FileTreePanel
var FileTreePanel = Ext.getCmp('webUploadFiles').getContextMenu();
});
-
5 Apr 2008 5:51 PM #142
the error response..is not working....even the example in your page...
i tried with {"success":false,"error":"asdasd"} and {"success":false,"errors":["extFileGeneratedName":"error message"]}
-
5 Apr 2008 7:38 PM #143
-
5 Apr 2008 7:40 PM #144Jozef 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
-
5 Apr 2008 7:47 PM #145
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
-
5 Apr 2008 7:50 PM #146Jozef 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
-
5 Apr 2008 8:24 PM #147
-
6 Apr 2008 1:56 AM #148
Once again, tree node you upload to refreshes automatically if you use embedded context menu. If you use separate upload panel then something like this:
PHP Code:uppanel.on('allfinished', function() {
// find node you've uploaded to
node.reload();
});
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 Apr 2008 4:19 AM #149
i know it looks right..but if i use error... it says unknown error and do not catch the error message.... and if i use errors...it does not decode the json message...yesterday at your site it wasnt catching the error message and showing unknown error....what should be the the json format for a single file/multiple files when it throws an error?
-
6 Apr 2008 4:50 AM #150
i got it to work well...took a look at the json response today and i could figure out...
{"success":false,"errors":{"extName":"ErroMsg"}}
thank you.


Reply With Quote