-
20 May 2008 2:47 PM #291
Any attempt to render to a hidden container === problem. If you need to have the UploadPanel/FileTree in an initially inactive tab or an accordion item then use the same technology as you can find here:
http://examples.extjs.eu/?ex=gridintab
http://examples.extjs.eu/?ex=gridinaccJozef 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
-
20 May 2008 3:11 PM #292
Ah, that makes so much more sense now!
In the documentation and the examples, it was never so clear that the tab panel's collection of items were just renderable objects like the tabpanel and gridpanel and not anonymous objects that contain items!
It was that level of nesting that screwed my example over, thank you.
-
21 May 2008 12:53 PM #293
Hi Saki,
I am having an issue with FileUploader/UploadPanel, it seems to ignore errors returned by my server.
For example, here is the JSON response from the server:
But the UploadPanel shows the green checkmark icon and the qtip states that the file uploaded successfully.Code:{"success":false,"errors":"java.sql.SQLException: Data size bigger than max size for this type: 201170"}
Any ideas?
Thanks,
Michel
-
21 May 2008 4:14 PM #294
Take another look at the client/server spec at http://filetree.extjs.eu. Your errors returned from server is not an object.
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
-
22 May 2008 10:27 AM #295
-
22 May 2008 10:32 AM #296
Saki,
What approach would you recommend for somebody who wants to add custom options to the FileTree?
E.g. A specific application requires a "download as zip" option in the context menu.. In this case we could just take the code provided and mod it to add that. However, it'd make it harder to apply future releases by you or by the community.
Would you recommend adding an additional script that adds the elements to the objects in a non-intrusive way? or is this completely stupid? -- if this were an option, how would you address the objects? by ID and such?
Thank you in advance,
-
22 May 2008 1:39 PM #297
Easiest and most standard would be to extend FileTreeMenu, however, it's quite hardcoded in the FileTreePanel.
I will keep this in mind while getting version 1.0 out; to make it more extensible.
Thanks for tip.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
-
23 May 2008 6:07 AM #298
Click event on add file button
Click event on add file button
Hi Saki,
I am trying to trigger click event on upload panel add button, but it does nothing. No JS error and not result of any kind at all.
I need this because I want to trigger add file action when user click on other panel button.
Do you have any suggestion form me. Thanks in advance
-
23 May 2008 8:23 AM #299
I'd go for calling the handler not for simulating the click.
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
-
23 May 2008 6:16 PM #300
locale file for Japanese
locale file for Japanese
Hi Saki.
I made Japanese "locale/ja_JP.js" seeing the other locale file.
File is attached as ja_JP.zip. If it is good, use. please.


Reply With Quote