Alfresco 3.4 目录树视图
我正在 Alfresco 3.4 中构建自定义对话框。我想包含一个树视图作为 UI 控件,类似于文档库中“复制/移动”对话框中的控件。 Alfresco 中是否有一个调用或一个简单的方法来包含它来驱动我的对话框,或者这将是一个完全自定义的部分?
I'm building a custom dialog in Alfresco 3.4. I'd like to include a tree view as a UI control similar to the one in the Copy/Move dialog in the Document Library. Is there a call in Alfresco or an easy way to include this to drive my dialog, or is this going to be a completely custom piece?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
据我所知,您不必编写自定义树视图。但包括 Share 使用的那个也不是那么容易,除非您有网页脚本、构建自定义页面、模板的经验...
首先检查这些:
http://wiki.alfresco.com/wiki/Share_Custom_Pages
http://wiki.alfresco.com/wiki/3.0_Component_Standards
这是您需要查看的文件所在的位置
Share 使用的客户端 javascript 文件位于此处:
查看以下文件:tree.js、repo-tree.js 或 dod5015-tree.js(RM 实现)
共享 Web 脚本位于此处:
查看以下文件:tree.get.、 repo-tree.get.、dod5015-tree.get.*
以下是树组件如何包含在文档库中:
You don't have to write your custom tree view as far as I know. But including the one that Share uses is not that easy as well, unless you have experience with webscripts, building custom pages, templates...
First check these out:
http://wiki.alfresco.com/wiki/Share_Custom_Pages
http://wiki.alfresco.com/wiki/3.0_Component_Standards
Here's where the files that you need to look at are located
The client side javascript files that Share uses are here:
Look at the following files: tree.js, repo-tree.js or dod5015-tree.js (RM implementation)
The share webscripts are here:
Look at the following files: tree.get., repo-tree.get., dod5015-tree.get.*
Here's how the tree component is included in document library: